Enum ming::Arg [−][src]
Expand description
A command line argument found by Parser
, either an option or a positional argument.
Variants
Short(char)
A short option, e.g. -q
.
Long(&'a str)
A long option, e.g. --verbose
. (The dashes are not included.)
Value(OsString)
A positional argument, e.g. /dev/null
.
Implementations
Convert an unexpected argument into an error.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Arg<'a>
impl<'a> UnwindSafe for Arg<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more