pub struct DelayedContextLifetime<WB: WasmBackend> { /* private fields */ }
Expand description
This struct is a helper, that allows passing <WB as WasmBackend>::ContextMut
as template parameter,
but not specify a lifetime. Any local lifetime can be used instead.
Trait Implementations§
source§impl<WB: WasmBackend> Store for DelayedContextLifetime<WB>
impl<WB: WasmBackend> Store for DelayedContextLifetime<WB>
type ActualStore<'c> = <WB as WasmBackend>::ContextMut<'c>
Auto Trait Implementations§
impl<WB> RefUnwindSafe for DelayedContextLifetime<WB>where
WB: RefUnwindSafe,
impl<WB> Send for DelayedContextLifetime<WB>where
WB: Send,
impl<WB> Sync for DelayedContextLifetime<WB>where
WB: Sync,
impl<WB> Unpin for DelayedContextLifetime<WB>where
WB: Unpin,
impl<WB> UnwindSafe for DelayedContextLifetime<WB>where
WB: 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