pub enum PointerMutFlex<'a, T> {
Borrowed(&'a mut PointerMut<T>),
Owned(PointerMut<T>),
}
Expand description
A pointer with flexible ownership
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for PointerMutFlex<'a, T>
impl<'a, T> RefUnwindSafe for PointerMutFlex<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for PointerMutFlex<'a, T>
impl<'a, T> !Sync for PointerMutFlex<'a, T>
impl<'a, T> Unpin for PointerMutFlex<'a, T>
impl<'a, T> !UnwindSafe for PointerMutFlex<'a, T>
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