Struct lunatic_process::runtimes::wasmtime::WasmtimeCompiledModule
source · [−]pub struct WasmtimeCompiledModule<T> { /* private fields */ }Implementations
sourceimpl<T> WasmtimeCompiledModule<T>
impl<T> WasmtimeCompiledModule<T>
pub fn new(
source: RawWasm,
module: Module,
instance_pre: InstancePre<T>
) -> WasmtimeCompiledModule<T>
pub fn exports(&self) -> impl ExactSizeIterator<Item = ExportType<'_>>
pub fn source(&self) -> &RawWasm
pub fn instantiator(&self) -> &InstancePre<T>
Trait Implementations
sourceimpl<T> Clone for WasmtimeCompiledModule<T>
impl<T> Clone for WasmtimeCompiledModule<T>
Auto Trait Implementations
impl<T> !RefUnwindSafe for WasmtimeCompiledModule<T>
impl<T> Send for WasmtimeCompiledModule<T>
impl<T> Sync for WasmtimeCompiledModule<T>
impl<T> Unpin for WasmtimeCompiledModule<T>
impl<T> !UnwindSafe for WasmtimeCompiledModule<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more