pub enum UsageState {
Start,
InUsage,
Command,
Optional,
Repeatable,
Required,
Argument,
End,
}Expand description
Substates of Usage parsing.
Variants§
Trait Implementations§
Source§impl Ord for UsageState
impl Ord for UsageState
Source§fn cmp(&self, other: &UsageState) -> Ordering
fn cmp(&self, other: &UsageState) -> 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 UsageState
impl PartialEq for UsageState
Source§impl PartialOrd for UsageState
impl PartialOrd for UsageState
impl Eq for UsageState
impl StructuralPartialEq for UsageState
Auto Trait Implementations§
impl Freeze for UsageState
impl RefUnwindSafe for UsageState
impl Send for UsageState
impl Sync for UsageState
impl Unpin for UsageState
impl UnwindSafe for UsageState
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