pub enum ArgAction {
Set,
Help,
HelpShort,
HelpLong,
HelpAll,
Version,
}Expand description
What supplying a declared flag does.
Variants§
Set
Bind the flag to its declared field.
Help
Show help, choosing the long form for a long spelling and the short form otherwise.
HelpShort
Always show short help.
HelpLong
Always show long help.
HelpAll
Show long help for this command and every visible descendant.
Version
Show version information.
Trait Implementations§
impl Copy for ArgAction
impl Eq for ArgAction
impl StructuralPartialEq for ArgAction
Auto Trait Implementations§
impl Freeze for ArgAction
impl RefUnwindSafe for ArgAction
impl Send for ArgAction
impl Sync for ArgAction
impl Unpin for ArgAction
impl UnsafeUnpin for ArgAction
impl UnwindSafe for ArgAction
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