pub struct MutRef<T>(/* private fields */);Expand description
A StateTransformer that provides a &mut T as a part of the side effect’s api.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for MutRef<T>where
T: Freeze,
impl<T> RefUnwindSafe for MutRef<T>where
T: RefUnwindSafe,
impl<T> Send for MutRef<T>where
T: Send,
impl<T> Sync for MutRef<T>where
T: Sync,
impl<T> Unpin for MutRef<T>where
T: Unpin,
impl<T> UnwindSafe for MutRef<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