Struct rargsxd::ArgParser[][src]

pub struct ArgParser { /* fields omitted */ }

Implementations

impl ArgParser[src]

pub fn parse(&mut self) -> &mut Self[src]

pub fn parse_args(&mut self, args: Vec<String>) -> &mut Self[src]

pub fn get_option(&self, name: &str) -> Option<String>[src]

pub fn get_flag(&self, name: &str) -> Option<bool>[src]

pub fn new(name: &str) -> Self[src]

pub fn print_help(&self)[src]

pub fn name(&mut self, name: &str) -> &mut Self[src]

pub fn author(&mut self, author: &str) -> &mut Self[src]

pub fn version(&mut self, version: &str) -> &mut Self[src]

pub fn copyright(&mut self, copyright: &str) -> &mut Self[src]

pub fn info(&mut self, info: &str) -> &mut Self[src]

pub fn args(&mut self, args: Vec<&mut Arg>) -> &mut Self[src]

pub fn require_args(&mut self, require: bool) -> &mut Self[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.