Struct room4doom::CLIOptions[][src]

pub struct CLIOptions {
Show 19 fields pub verbose: LevelFilter, pub iwad: String, pub pwad: Vec<String>, pub width: u32, pub height: u32, pub fullscreen: Option<bool>, pub double: Option<bool>, pub no_monsters: bool, pub skill: Skill, pub episode: i32, pub map: i32, pub help: bool, pub palette_test: bool, pub image_test: Option<String>, pub image_cycle_test: bool, pub texture_test: bool, pub flats_test: bool, pub sprites_test: bool, pub shader: Option<Shaders>,
}
Expand description

CLI options for the game-exe

Fields

verbose: LevelFilteriwad: Stringpwad: Vec<String>width: u32height: u32fullscreen: Option<bool>double: Option<bool>no_monsters: boolskill: Skillepisode: i32map: i32help: boolpalette_test: boolimage_test: Option<String>image_cycle_test: booltexture_test: boolflats_test: boolsprites_test: boolshader: Option<Shaders>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Parses arguments until the given parser is exhausted or until an error is encountered. Read more

Returns the subcommand instance, if present. Read more

Returns the name of a parsed command, if present. Read more

Returns whether the user supplied a “help” option to request usage information about the program or any contained subcommands. Read more

Parses options for the named command.

Returns a string showing usage and help for each supported option. Read more

Returns a string showing usage and help for this options instance. Read more

Returns a string listing available commands and help text. Read more

Returns a usage string for the named command. Read more

Returns a listing of available commands and help text. Read more

Parses arguments received from the command line. Read more

Parses arguments from the environment. Read more

Parses arguments from the environment, using the default parsing style. Read more

Parses arguments received from the command line, using the default parsing style. Read more

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.