pub enum ModeOption {
None,
Mode(ModeId),
Push(ModeId),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ModeOption
impl Clone for ModeOption
Source§fn clone(&self) -> ModeOption
fn clone(&self) -> ModeOption
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 ModeOption
impl Debug for ModeOption
Source§impl Default for ModeOption
impl Default for ModeOption
Source§fn default() -> ModeOption
fn default() -> ModeOption
Returns the “default value” for a type. Read more
Source§impl Ord for ModeOption
impl Ord for ModeOption
Source§fn cmp(&self, other: &ModeOption) -> Ordering
fn cmp(&self, other: &ModeOption) -> 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 ModeOption
impl PartialEq for ModeOption
Source§impl PartialOrd for ModeOption
impl PartialOrd for ModeOption
impl Copy for ModeOption
impl Eq for ModeOption
impl StructuralPartialEq for ModeOption
Auto Trait Implementations§
impl Freeze for ModeOption
impl RefUnwindSafe for ModeOption
impl Send for ModeOption
impl Sync for ModeOption
impl Unpin for ModeOption
impl UnwindSafe for ModeOption
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