pub struct CLI<'a> {
pub name: Option<&'a str>,
pub version: Option<&'a str>,
pub description: Option<&'a str>,
pub options: Vec<Opt<'a>>,
pub args: Vec<Arg<'a>>,
}
Fields§
§name: Option<&'a str>
§version: Option<&'a str>
§description: Option<&'a str>
§options: Vec<Opt<'a>>
§args: Vec<Arg<'a>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CLI<'a>
impl<'a> RefUnwindSafe for CLI<'a>
impl<'a> Send for CLI<'a>
impl<'a> Sync for CLI<'a>
impl<'a> Unpin for CLI<'a>
impl<'a> UnwindSafe for CLI<'a>
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