pub struct Mut<'a>(PhantomData<&'a mut ()>);
Tuple Fields§
§0: PhantomData<&'a mut ()>
Trait Implementations§
source§impl<'a> BorrowType for Mut<'a>
impl<'a> BorrowType for Mut<'a>
source§const TRAVERSAL_PERMIT: bool = true
const TRAVERSAL_PERMIT: bool = true
If node references of this borrow type allow traversing to other
nodes in the tree, this constant is set to
true
. It can be used
for a compile-time assertion.Auto Trait Implementations§
impl<'a> RefUnwindSafe for Mut<'a>
impl<'a> Send for Mut<'a>
impl<'a> Sync for Mut<'a>
impl<'a> Unpin for Mut<'a>
impl<'a> !UnwindSafe for Mut<'a>
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