[][src]Struct simon::VecConvertString

pub struct VecConvertString<A, F> where
    A: Arg
{ /* fields omitted */ }

Trait Implementations

impl<A, F, T, E> Arg for VecConvertString<A, F> where
    A: Arg<Item = Vec<String>>,
    F: FnMut(&str) -> Result<T, E>,
    E: Display + Debug
[src]

type Item = Vec<T>

type Error = VecConvertStringError<A::Error, E>

fn validate(&self) -> Result<(), Invalid>[src]

fn parse_specified_ignoring_validation<I>(
    self,
    program_name: String,
    args: I
) -> ParseResult<Self::Item, Self::Error> where
    I: IntoIterator,
    I::Item: AsRef<OsStr>, 
[src]

fn parse_specified<I>(
    self,
    program_name: String,
    args: I
) -> ParseResult<Self::Item, Self::Error> where
    I: IntoIterator,
    I::Item: AsRef<OsStr>, 
[src]

fn parse_env(self) -> ParseResult<Self::Item, Self::Error>[src]

fn with_help(self, help_flag: Flag) -> WithHelp<Self>[src]

fn with_help_default(self) -> WithHelp<Self>[src]

fn option_map<F, T, U>(self, f: F) -> OptionMap<Self, F> where
    F: FnOnce(T) -> U, 
[src]

fn with_default<T>(self, default_value: T) -> WithDefault<Self, T>[src]

fn choice<O>(self, other: O) -> Choice<Self, O> where
    O: Arg<Item = Self::Item>, 
[src]

fn both<O>(self, other: O) -> Both<Self, O> where
    O: Arg
[src]

fn map<F, U>(self, f: F) -> Map<Self, F> where
    F: FnOnce(Self::Item) -> U, 
[src]

fn required(self) -> Required<Self>[src]

fn convert_string<F, T, E>(self, f: F) -> ConvertString<Self, F> where
    F: FnOnce(&str) -> Result<T, E>, 
[src]

fn option_convert_string<F, T, E>(self, f: F) -> OptionConvertString<Self, F> where
    F: FnOnce(&str) -> Result<T, E>, 
[src]

fn vec_convert_string<F, T, E>(self, f: F) -> VecConvertString<Self, F> where
    F: FnMut(&str) -> Result<T, E>, 
[src]

fn depend<O>(self, other: O) -> Depend<Self, O> where
    O: Arg
[src]

fn some_if<T>(self, t: T) -> SomeIf<Self, T>[src]

Auto Trait Implementations

impl<A, F> Send for VecConvertString<A, F> where
    A: Send,
    F: Send

impl<A, F> Unpin for VecConvertString<A, F> where
    A: Unpin,
    F: Unpin

impl<A, F> Sync for VecConvertString<A, F> where
    A: Sync,
    F: Sync

impl<A, F> UnwindSafe for VecConvertString<A, F> where
    A: UnwindSafe,
    F: UnwindSafe

impl<A, F> RefUnwindSafe for VecConvertString<A, F> where
    A: RefUnwindSafe,
    F: RefUnwindSafe

Blanket Implementations

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.

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

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

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