pub struct GlobalContext { /* private fields */ }Expand description
Global context manager for shared state
This provides a global context that can be shared across threads in environments that support it (not available in WASM).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GlobalContext
impl RefUnwindSafe for GlobalContext
impl Send for GlobalContext
impl Sync for GlobalContext
impl Unpin for GlobalContext
impl UnsafeUnpin for GlobalContext
impl UnwindSafe for GlobalContext
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