[][src]Trait type_cli::Argument

pub trait Argument: Sized {
    pub fn parse(arg: impl AsRef<str>, arg: ArgRef) -> Result<Self, Error>;
}

Required methods

pub fn parse(arg: impl AsRef<str>, arg: ArgRef) -> Result<Self, Error>[src]

Loading content...

Implementors

impl<T: FromStr> Argument for T where
    <T as FromStr>::Err: StdError + 'static, 
[src]

Loading content...