pub struct Mut;Expand description
Taking a T by Mutable reference means taking &'a mut T as input to or output from a
function.
Trait Implementations§
Source§impl<'a, T: 'a, S> As<'a, Mut, T> for Swhere
S: AsMut<T> + 'a,
impl<'a, T: 'a, S> As<'a, Mut, T> for Swhere
S: AsMut<T> + 'a,
fn as_convention(this: &mut S) -> &mut T
Source§impl Ord for Mut
impl Ord for Mut
Source§impl PartialOrd for Mut
impl PartialOrd for Mut
impl Copy for Mut
impl Eq for Mut
impl StructuralPartialEq for Mut
Auto Trait Implementations§
impl Freeze for Mut
impl RefUnwindSafe for Mut
impl Send for Mut
impl Sync for Mut
impl Unpin for Mut
impl UnwindSafe for Mut
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