pub struct Mut<'a, T>(/* private fields */);
Expand description
Mut is a owned value which is mutable, but also has a lifetime.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Mut<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Mut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Mut<'a, T>where
T: Send,
impl<'a, T> Sync for Mut<'a, T>where
T: Sync,
impl<'a, T> Unpin for Mut<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Mut<'a, T>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
Source§impl<T, A> DynAccess<T> for A
impl<T, A> DynAccess<T> for A
Source§fn load(&self) -> DynGuard<T>
fn load(&self) -> DynGuard<T>
The equivalent of
Access::load
.