pub enum Exclusive {}Expand description
The Ptr<'a, T> adheres to the aliasing rules of a &'a mut T.
The referent of an exclusively-aliased Ptr may not be concurrently
referenced by any other Ptrs or references, and may not be accessed (read
or written) other than via this Ptr.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Exclusive
impl RefUnwindSafe for Exclusive
impl Send for Exclusive
impl Sync for Exclusive
impl Unpin for Exclusive
impl UnsafeUnpin for Exclusive
impl UnwindSafe for Exclusive
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