pub struct Argument { /* private fields */ }
Expand description
Arguments can either be positional or named. Positional arguments are identified by their position relative to the command name. Note that named arguments are not counted towards the positional argument count. Named arguments are identified by a flag, which is an identifier prefixed by a dash. The flag may be followed by a value, which is separated by a space. If the value is not present, the argument is considered a flag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Argument
impl RefUnwindSafe for Argument
impl Send for Argument
impl Sync for Argument
impl Unpin for Argument
impl UnwindSafe for Argument
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