Enum docopticon::OptionsState
source · pub enum OptionsState {
Start,
Option,
Argument,
Description,
}Expand description
States of Options: parsing.
Variants§
Trait Implementations§
source§impl Ord for OptionsState
impl Ord for OptionsState
source§fn cmp(&self, other: &OptionsState) -> Ordering
fn cmp(&self, other: &OptionsState) -> 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 OptionsState
impl PartialEq for OptionsState
source§fn eq(&self, other: &OptionsState) -> bool
fn eq(&self, other: &OptionsState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for OptionsState
impl PartialOrd for OptionsState
source§fn partial_cmp(&self, other: &OptionsState) -> Option<Ordering>
fn partial_cmp(&self, other: &OptionsState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for OptionsState
impl StructuralEq for OptionsState
impl StructuralPartialEq for OptionsState
Auto Trait Implementations§
impl RefUnwindSafe for OptionsState
impl Send for OptionsState
impl Sync for OptionsState
impl Unpin for OptionsState
impl UnwindSafe for OptionsState
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