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

Parse from std::env::args_os(), exit on error

Parse from std::env::args_os(), return Err on error.

Parse from iterator, exit on error

Parse from iterator, return Err on error.

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

@TODO @release @docs

@TODO @release @docs

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.