pub struct WasmModuleBuilder { /* private fields */ }Expand description
Spec-compliant .wasm binary encoder producing genuine executable WebAssembly modules for euv native rendering.
Implementations§
Source§impl WasmModuleBuilder
Spec-compliant WebAssembly binary encoder methods for WasmModuleBuilder.
impl WasmModuleBuilder
Spec-compliant WebAssembly binary encoder methods for WasmModuleBuilder.
Sourcepub fn partial_spec(spec: &DynamicNodeSpec) -> WasmModuleBuilder
pub fn partial_spec(spec: &DynamicNodeSpec) -> WasmModuleBuilder
Sourcepub fn global_bundle(bundle: &DynamicUpdateBundle) -> WasmModuleBuilder
pub fn global_bundle(bundle: &DynamicUpdateBundle) -> WasmModuleBuilder
Sourcepub fn with_alt_spec(self, alt: &DynamicNodeSpec) -> WasmModuleBuilder
pub fn with_alt_spec(self, alt: &DynamicNodeSpec) -> WasmModuleBuilder
Sourcepub fn with_alt_bundle(self, bundle: &DynamicUpdateBundle) -> WasmModuleBuilder
pub fn with_alt_bundle(self, bundle: &DynamicUpdateBundle) -> WasmModuleBuilder
Sourcepub fn with_log(self, message: String) -> WasmModuleBuilder
pub fn with_log(self, message: String) -> WasmModuleBuilder
Sourcepub fn with_abi_version(self, abi: u32) -> WasmModuleBuilder
pub fn with_abi_version(self, abi: u32) -> WasmModuleBuilder
Sourcepub fn without_render_export(self) -> WasmModuleBuilder
pub fn without_render_export(self) -> WasmModuleBuilder
Sourcepub fn with_fault(self, fault: WasmFaultKind) -> WasmModuleBuilder
pub fn with_fault(self, fault: WasmFaultKind) -> WasmModuleBuilder
Source§impl WasmModuleBuilder
impl WasmModuleBuilder
pub fn get_abi_version(&self) -> u32
pub fn get_mut_abi_version(&mut self) -> &mut u32
pub fn set_abi_version(&mut self, val: u32) -> &mut WasmModuleBuilder
pub fn get_export_render(&self) -> bool
pub fn get_mut_export_render(&mut self) -> &mut bool
pub fn set_export_render(&mut self, val: bool) -> &mut WasmModuleBuilder
pub fn get_is_global_bundle(&self) -> bool
pub fn get_mut_is_global_bundle(&mut self) -> &mut bool
pub fn set_is_global_bundle(&mut self, val: bool) -> &mut WasmModuleBuilder
pub fn get_ui_payload_json(&self) -> &String
pub fn get_mut_ui_payload_json(&mut self) -> &mut String
pub fn set_ui_payload_json(&mut self, val: String) -> &mut WasmModuleBuilder
pub fn get_alt_ui_payload_json(&self) -> &String
pub fn get_mut_alt_ui_payload_json(&mut self) -> &mut String
pub fn set_alt_ui_payload_json(&mut self, val: String) -> &mut WasmModuleBuilder
pub fn get_log_message(&self) -> &String
pub fn get_mut_log_message(&mut self) -> &mut String
pub fn set_log_message(&mut self, val: String) -> &mut WasmModuleBuilder
pub fn get_fault(&self) -> WasmFaultKind
pub fn get_mut_fault(&mut self) -> &mut WasmFaultKind
pub fn set_fault(&mut self, val: WasmFaultKind) -> &mut WasmModuleBuilder
pub fn get_custom_meta(&self) -> &Vec<u8> ⓘ
pub fn get_mut_custom_meta(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_custom_meta(&mut self, val: Vec<u8>) -> &mut WasmModuleBuilder
Trait Implementations§
Source§impl Clone for WasmModuleBuilder
impl Clone for WasmModuleBuilder
Source§fn clone(&self) -> WasmModuleBuilder
fn clone(&self) -> WasmModuleBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WasmModuleBuilder
impl Debug for WasmModuleBuilder
Source§impl Default for WasmModuleBuilder
impl Default for WasmModuleBuilder
Source§fn default() -> WasmModuleBuilder
fn default() -> WasmModuleBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for WasmModuleBuilder
impl Freeze for WasmModuleBuilder
impl Move for WasmModuleBuilder
impl RefUnwindSafe for WasmModuleBuilder
impl Send for WasmModuleBuilderwhere
RawVecInner: Send,
impl Sync for WasmModuleBuilderwhere
RawVecInner: Sync,
impl Unpin for WasmModuleBuilder
impl UnsafeUnpin for WasmModuleBuilder
impl UnwindSafe for WasmModuleBuilderwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more