Struct gflags::custom::Arg

source ·
pub struct Arg { /* private fields */ }
Expand description

Raw argument value given for a non-boolean flag.

Implementations

Access the raw value given on the command line, which may not be legal UTF-8.

Access the value assuming it is UTF-8. If not UTF-8, the process will abort with an error message.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.