Struct rargsxd::ArgParser [−][src]
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
impl RefUnwindSafe for ArgParser
[src]
impl Send for ArgParser
[src]
impl Sync for ArgParser
[src]
impl Unpin for ArgParser
[src]
impl UnwindSafe for ArgParser
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,