Struct argle::Required [−][src]
pub struct Required<P> { /* fields omitted */ }
Trait Implementations
impl<P, T> Param for Required<P> where
P: Param<Item = Option<T>>,
[src]
impl<P, T> Param for Required<P> where
P: Param<Item = Option<T>>,
type Item = T
type Error = RequiredError<P::Error>
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)