Struct abstutil::CmdArgs[][src]

pub struct CmdArgs {
    kv: HashMap<String, String>,
    bits: HashSet<String>,
    free: Vec<String>,
    used: HashSet<String>,
}
Expand description

Yet another barebones command-line flag parsing library.

Fields

kv: HashMap<String, String>bits: HashSet<String>free: Vec<String>used: HashSet<String>

Implementations

On native, initialize with real flags. On web, transform URL query parameters into flags.

Calling this has the side-effect of initializing logging on both native and web. This should probably be done independently, but for the moment, every app wants both.

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.