[][src]Module ezflags::flag

Flag related module. Defines how to make something into a flag, and how to parse arguments into a flag.

Structs

FlagSet

Enums

ParseError

Errors that can occur while parsing into flags.

Constants

HELP_LONG

Reserved long flag name for help

HELP_SHORT

Reserved short flag name for help

Traits

Flaggable

Trait for types that can be converted from a flag. The parse_from function was made specific due to the dynamic nature of the flag set. But if there is some way to make it more generic that would be appreciated.