Struct wasmrs_host::SharedContext
source · pub struct SharedContext(_);Implementations§
sourcepub fn new(context: impl ProviderCallContext + Send + Sync + 'static) -> Self
pub fn new(context: impl ProviderCallContext + Send + Sync + 'static) -> Self
Create a new shared context with the passed ProviderCallContext
Trait Implementations§
source§fn clone(&self) -> SharedContext
fn clone(&self) -> SharedContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more