Struct wasm_runtime_layer::Engine
source · pub struct Engine<E: WasmEngine> { /* private fields */ }
Expand description
The backing engine for a WebAssembly runtime.
Implementations§
source§impl<E: WasmEngine> Engine<E>
impl<E: WasmEngine> Engine<E>
sourcepub fn into_backend(self) -> E
pub fn into_backend(self) -> E
Unwraps this instance into the core backend engine.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Engine<E>where
E: Freeze,
impl<E> RefUnwindSafe for Engine<E>where
E: RefUnwindSafe,
impl<E> Send for Engine<E>where
E: Send,
impl<E> Sync for Engine<E>where
E: Sync,
impl<E> Unpin for Engine<E>where
E: Unpin,
impl<E> UnwindSafe for Engine<E>where
E: 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