[][src]Struct entrance::OptionParsedCommand

pub struct OptionParsedCommand<I, Opts, Args> { /* fields omitted */ }

A struct as an intermediate just after parsing options.

This struct is created by parse_option method on CommandPrecursor.

Methods

impl<I, Opts, Args> OptionParsedCommand<I, Opts, Args>[src]

pub fn name(&self) -> &str[src]

pub fn options(&self) -> &Opts[src]

pub fn help(&self) -> HelpDisplay<Opts, Args>[src]

pub fn parse_arguments(self) -> Result<Command<Opts, Args>> where
    I: Iterator<Item = String>,
    Args: Arguments
[src]

parse the other arguments.

Trait Implementations

impl<I: Debug, Opts: Debug, Args: Debug> Debug for OptionParsedCommand<I, Opts, Args>[src]

Auto Trait Implementations

impl<I, Opts, Args> Send for OptionParsedCommand<I, Opts, Args> where
    Args: Send,
    I: Send,
    Opts: Send

impl<I, Opts, Args> Sync for OptionParsedCommand<I, Opts, Args> where
    Args: Sync,
    I: Sync,
    Opts: Sync

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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