Struct argle::EitherHomogeneous [−][src]
pub struct EitherHomogeneous<A, B> { /* fields omitted */ }
Trait Implementations
impl<T, A, B> Param for EitherHomogeneous<A, B> where
A: Param<Item = Option<T>>,
B: Param<Item = Option<T>>,
[src]
impl<T, A, B> Param for EitherHomogeneous<A, B> where
A: Param<Item = Option<T>>,
B: Param<Item = Option<T>>,
type Item = Option<T>
type Error = EitherError<A::Error, B::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)
Auto Trait Implementations
impl<A, B> Send for EitherHomogeneous<A, B> where
A: Send,
B: Send,
impl<A, B> Send for EitherHomogeneous<A, B> where
A: Send,
B: Send,
impl<A, B> Sync for EitherHomogeneous<A, B> where
A: Sync,
B: Sync,
impl<A, B> Sync for EitherHomogeneous<A, B> where
A: Sync,
B: Sync,