Struct v8::CompiledWasmModule
source · pub struct CompiledWasmModule(_);
Expand description
Wrapper around a compiled WebAssembly module, which is potentially shared by different WasmModuleObjects.
Implementations§
source§impl CompiledWasmModule
impl CompiledWasmModule
sourcepub fn get_wire_bytes_ref(&self) -> &[u8] ⓘ
pub fn get_wire_bytes_ref(&self) -> &[u8] ⓘ
Get the (wasm-encoded) wire bytes that were used to compile this module.
pub fn source_url(&self) -> &str
Trait Implementations§
source§impl Drop for CompiledWasmModule
impl Drop for CompiledWasmModule
impl Send for CompiledWasmModule
impl Sync for CompiledWasmModule
Auto Trait Implementations§
impl RefUnwindSafe for CompiledWasmModule
impl Unpin for CompiledWasmModule
impl UnwindSafe for CompiledWasmModule
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