pub enum FlagKind {
Bool,
Value,
}Expand description
What kind of value a flag takes.
Variants§
Bool
A boolean switch: present or absent (--verbose).
Value
Takes a single value (--output file, -o file).
Trait Implementations§
impl Eq for FlagKind
impl StructuralPartialEq for FlagKind
Auto Trait Implementations§
impl Forget for FlagKind
impl Freeze for FlagKind
impl Move for FlagKind
impl RefUnwindSafe for FlagKind
impl Send for FlagKind
impl Sync for FlagKind
impl Unpin for FlagKind
impl UnsafeUnpin for FlagKind
impl UnwindSafe for FlagKind
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