pub struct Static<T> { /* private fields */ }
Expand description
Wrapper that allows creating static
s with mock state.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Static<T>where
T: UnwindSafe + RefUnwindSafe,
impl<T> Send for Static<T>where
T: Send,
impl<T> Sync for Static<T>where
T: Send + Sync,
impl<T> Unpin for Static<T>where
T: Unpin,
impl<T> UnwindSafe for Static<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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