pub struct OptionSomeMut<'a, A: 'a>(/* private fields */);
Expand description
A helper type for Option
, useful for accessing ‘is_some’ data and removing it.
Implementations§
Auto Trait Implementations§
impl<'a, A> Freeze for OptionSomeMut<'a, A>
impl<'a, A> RefUnwindSafe for OptionSomeMut<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for OptionSomeMut<'a, A>where
A: Send,
impl<'a, A> Sync for OptionSomeMut<'a, A>where
A: Sync,
impl<'a, A> Unpin for OptionSomeMut<'a, A>
impl<'a, A> !UnwindSafe for OptionSomeMut<'a, 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