Struct wasm_react::Context 
source · [−]pub struct Context<T> { /* private fields */ }Expand description
Represents a React context that can hold a global state.
See create_context() for usage.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Context<T> where
    T: RefUnwindSafe, 
impl<T> !Send for Context<T>
impl<T> !Sync for Context<T>
impl<T> Unpin for Context<T> where
    T: Unpin, 
impl<T> UnwindSafe for Context<T> where
    T: UnwindSafe, 
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