Struct wasm_bridge_js::Linker
source · pub struct Linker { /* private fields */ }Implementations§
source§impl Linker
impl Linker
pub fn new(_engine: &Engine) -> Self
pub fn instantiate( &self, _store: impl AsContextMut, module: &Module ) -> Result<Instance, Error>
pub fn func_wrap<Params, Results, F>( &mut self, module: &str, name: &str, func: F ) -> Result<&mut Self, Error>where F: IntoClosure<Params, Results>,
Auto Trait Implementations§
impl !RefUnwindSafe for Linker
impl !Send for Linker
impl !Sync for Linker
impl Unpin for Linker
impl !UnwindSafe for Linker
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