pub struct Static<T, Token> { /* private fields */ }
Expand description
A potentially-uninitialized static
with all things needed to initialize it.
Call init()
to gain an access token.
Implementations§
Auto Trait Implementations§
impl<T, Token> !Freeze for Static<T, Token>
impl<T, Token> !RefUnwindSafe for Static<T, Token>
impl<T, Token> Send for Static<T, Token>where
T: Send,
impl<T, Token> Sync for Static<T, Token>where
T: Sync,
impl<T, Token> Unpin for Static<T, Token>where
T: Unpin,
impl<T, Token> UnwindSafe for Static<T, Token>where
T: 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