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) -> Self
pub fn partial_spec(spec: &DynamicNodeSpec) -> Self
Sourcepub fn global_bundle(bundle: &DynamicUpdateBundle) -> Self
pub fn global_bundle(bundle: &DynamicUpdateBundle) -> Self
Sourcepub fn with_alt_spec(self, alt: &DynamicNodeSpec) -> Self
pub fn with_alt_spec(self, alt: &DynamicNodeSpec) -> Self
Sourcepub fn with_alt_bundle(self, bundle: &DynamicUpdateBundle) -> Self
pub fn with_alt_bundle(self, bundle: &DynamicUpdateBundle) -> Self
Sourcepub fn with_abi_version(self, abi: u32) -> Self
pub fn with_abi_version(self, abi: u32) -> Self
Sourcepub fn without_render_export(self) -> Self
pub fn without_render_export(self) -> Self
Sourcepub fn with_fault(self, fault: WasmFaultKind) -> Self
pub fn with_fault(self, fault: WasmFaultKind) -> Self
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 Self
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 Self
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 Self
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 Self
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 Self
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 Self
pub fn get_fault(&self) -> WasmFaultKind
pub fn get_mut_fault(&mut self) -> &mut WasmFaultKind
pub fn set_fault(&mut self, val: WasmFaultKind) -> &mut Self
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 Self
Trait Implementations§
Source§impl Clone for WasmModuleBuilder
impl Clone for WasmModuleBuilder
Source§impl Debug for WasmModuleBuilder
impl Debug for WasmModuleBuilder
Auto Trait Implementations§
impl Forget for WasmModuleBuilder
impl Freeze for WasmModuleBuilder
impl Move for WasmModuleBuilder
impl RefUnwindSafe for WasmModuleBuilder
impl Send for WasmModuleBuilder
impl Sync for WasmModuleBuilder
impl Unpin for WasmModuleBuilder
impl UnsafeUnpin for WasmModuleBuilder
impl UnwindSafe for WasmModuleBuilder
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