[−][src]Struct entrance::OptionParsedCommand
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]
I: Iterator<Item = String>,
Args: Arguments,
parse the other arguments.
Trait Implementations
Auto Trait Implementations
impl<I, Opts, Args> Send for OptionParsedCommand<I, Opts, Args> where
Args: Send,
I: Send,
Opts: Send,
Args: Send,
I: Send,
Opts: Send,
impl<I, Opts, Args> Sync for OptionParsedCommand<I, Opts, Args> where
Args: Sync,
I: Sync,
Opts: Sync,
Args: Sync,
I: Sync,
Opts: Sync,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,