pub struct StaticOptionSome;Expand description
Type indicating that a static option is Some.
Trait Implementations§
Source§impl Clone for StaticOptionSome
impl Clone for StaticOptionSome
Source§fn clone(&self) -> StaticOptionSome
fn clone(&self) -> StaticOptionSome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticOptionSome
impl Debug for StaticOptionSome
Source§impl Hash for StaticOptionSome
impl Hash for StaticOptionSome
Source§impl Ord for StaticOptionSome
impl Ord for StaticOptionSome
Source§fn cmp(&self, other: &StaticOptionSome) -> Ordering
fn cmp(&self, other: &StaticOptionSome) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StaticOptionSome
impl PartialEq for StaticOptionSome
Source§impl PartialOrd for StaticOptionSome
impl PartialOrd for StaticOptionSome
impl Copy for StaticOptionSome
impl Eq for StaticOptionSome
impl StructuralPartialEq for StaticOptionSome
Auto Trait Implementations§
impl Freeze for StaticOptionSome
impl RefUnwindSafe for StaticOptionSome
impl Send for StaticOptionSome
impl Sync for StaticOptionSome
impl Unpin for StaticOptionSome
impl UnwindSafe for StaticOptionSome
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