pub struct ArgDef {
pub name: String,
pub flags: Vec<String>,
pub help: String,
pub is_option: bool,
pub is_multi: bool,
}Expand description
Definition of a command-line argument (flag or option).
Fields§
§name: String§flags: Vec<String>§help: String§is_option: bool§is_multi: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ArgDef
impl RefUnwindSafe for ArgDef
impl Send for ArgDef
impl Sync for ArgDef
impl Unpin for ArgDef
impl UnsafeUnpin for ArgDef
impl UnwindSafe for ArgDef
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