Struct argle::Arg [−][src]
Fields
short: String
long: String
hint: String
doc: String
Trait Implementations
impl Default for Arg
[src]
impl Default for Arg
impl Param for Arg
[src]
impl Param for Arg
type Item = Option<String>
type Error = Never
fn update_options(&self, opts: &mut Options, notes: Notes)
[src]
fn update_options(&self, opts: &mut Options, notes: Notes)
fn name(&self) -> String
[src]
fn name(&self) -> String
fn get(&self, matches: &Matches) -> Result<Self::Item, Self::Error>
[src]
fn get(&self, matches: &Matches) -> Result<Self::Item, Self::Error>
fn parse<C: IntoIterator>(
&self,
args: C,
which_notes_to_document: WhichNotes
) -> (Result<Self::Item, TopLevelError<Self::Error>>, Usage) where
C::Item: AsRef<OsStr>,
[src]
fn parse<C: IntoIterator>(
&self,
args: C,
which_notes_to_document: WhichNotes
) -> (Result<Self::Item, TopLevelError<Self::Error>>, Usage) where
C::Item: AsRef<OsStr>,
fn parse_env(
&self,
which_notes_to_document: WhichNotes,
program_name: ProgramName
) -> (Result<Self::Item, TopLevelError<Self::Error>>, UsageWithProgramName)
[src]
fn parse_env(
&self,
which_notes_to_document: WhichNotes,
program_name: ProgramName
) -> (Result<Self::Item, TopLevelError<Self::Error>>, UsageWithProgramName)
fn parse_env_default(
&self
) -> (Result<Self::Item, TopLevelError<Self::Error>>, UsageWithProgramName)
[src]
fn parse_env_default(
&self
) -> (Result<Self::Item, TopLevelError<Self::Error>>, UsageWithProgramName)