Struct simple_args::Arguments[][src]

pub struct Arguments { /* fields omitted */ }
Expand description

Parsed Arguments

Implementations

Parse arguments. This cannot fail. Arguments are simply denoted by a single - followed by the argument, and the value is immediately after. Multiple instances can be contained, and arguments can contain no value

Arguments

args: The arguments

Checks whether or not an argument is present in the list

Arguments

key: The key to check

Checks whether or not an argument is present in the list with a non-empty value

Arguments

key: The key to check

Checks whether or not the arguments are empty

Gets the first value with the given key

Arguments

key: The key to fetch

Gets all values with the given key

Arguments

key: The key to fetch

Returns the number of arguments that were parsed

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.

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.