pub struct Args {
pub flags: HashMap<String, String>,
pub positional: Vec<String>,
pub verbosity: u8,
pub quiet: u8,
}Expand description
Parsed command-line arguments.
Fields§
§flags: HashMap<String, String>§positional: Vec<String>§verbosity: u8§quiet: u8Implementations§
Auto Trait Implementations§
impl Freeze for Args
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
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