Struct singleton_cell::Token
source · [−]pub struct Token<'brand>(_);
Expand description
A temporary singleton token created by the with_token function.
See the with_token function for details.
Trait Implementations
impl<'brand> Send for Token<'brand>
impl<'brand> Singleton for Token<'brand>
impl<'brand> Sync for Token<'brand>
Auto Trait Implementations
impl<'brand> RefUnwindSafe for Token<'brand>
impl<'brand> Unpin for Token<'brand>
impl<'brand> UnwindSafe for Token<'brand>
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