Struct self_reference::OptionPinMut
source · [−]pub struct OptionPinMut<T: ?Sized>(_);
Trait Implementations
sourceimpl<'this, T: ?Sized> RefDef<'this> for OptionPinMut<T>where
T: 'this,
impl<'this, T: ?Sized> RefDef<'this> for OptionPinMut<T>where
T: 'this,
type Type = Option<Pin<&'this mut T>>
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for OptionPinMut<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for OptionPinMut<T>where
T: Send,
impl<T: ?Sized> Sync for OptionPinMut<T>where
T: Sync,
impl<T: ?Sized> Unpin for OptionPinMut<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for OptionPinMut<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more