Struct leetcode_picker::cli_args::Args [−][src]
pub struct Args { /* fields omitted */ }
Expand description
command line arguments
Implementations
give template string, if has template file instead of string use template file prior.
Trait Implementations
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn parse_from<I, T>(itr: I) -> Self where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, exit on error
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
T: Into<OsString> + Clone,
I: IntoIterator<Item = T>,
Parse from iterator, return Err on error.
It’s common to have an “application context” struct (sometimes called config) that represents all the normalized values after being processed by the CLI. Read more
Auto Trait Implementations
impl RefUnwindSafe for Args
impl UnwindSafe for Args