pub struct OptionNoneMut<'a, A: 'a>(/* private fields */);
Expand description
A helper type for Option
, useful for adding data to is_none
options.
Implementations§
Source§impl<'a, A> OptionNoneMut<'a, A>
impl<'a, A> OptionNoneMut<'a, A>
Sourcepub fn add(self, a: A) -> OptionSomeMut<'a, A>
pub fn add(self, a: A) -> OptionSomeMut<'a, A>
Adds a value
Auto Trait Implementations§
impl<'a, A> Freeze for OptionNoneMut<'a, A>
impl<'a, A> RefUnwindSafe for OptionNoneMut<'a, A>where
A: RefUnwindSafe,
impl<'a, A> Send for OptionNoneMut<'a, A>where
A: Send,
impl<'a, A> Sync for OptionNoneMut<'a, A>where
A: Sync,
impl<'a, A> Unpin for OptionNoneMut<'a, A>
impl<'a, A> !UnwindSafe for OptionNoneMut<'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