pub struct OptionOf<M>(/* private fields */);Expand description
Marks the impl for Option<S>, where S’s own marker is M.
Trait Implementations§
Auto Trait Implementations§
impl<M> Freeze for OptionOf<M>
impl<M> RefUnwindSafe for OptionOf<M>
impl<M> Send for OptionOf<M>
impl<M> Sync for OptionOf<M>
impl<M> Unpin for OptionOf<M>
impl<M> UnsafeUnpin for OptionOf<M>
impl<M> UnwindSafe for OptionOf<M>
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
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.