pub struct App<'a> { /* private fields */ }Implementations§
Source§impl<'a> App<'a>
impl<'a> App<'a>
pub fn new(input: &'a [&'a str]) -> Self
pub fn get(&self, name: &'a str) -> Values<'a>
pub fn parse(&mut self)
pub fn arg(self, name: &'a str, num_values: i32) -> Self
pub fn flag(self, name: &'a str, num_values: i32) -> Self
pub fn name(self, name: &'a str) -> Self
pub fn push_flag(&mut self, arg: Arg<'a>)
pub fn push_name(&mut self, arg: Arg<'a>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for App<'a>
impl<'a> RefUnwindSafe for App<'a>
impl<'a> Send for App<'a>
impl<'a> Sync for App<'a>
impl<'a> Unpin for App<'a>
impl<'a> UnwindSafe for App<'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