Struct r_matrix::config::Config[][src]

pub struct Config {
    pub bold: isize,
    pub console: bool,
    pub oldstyle: bool,
    pub screensaver: bool,
    pub xwindow: bool,
    pub update: usize,
    pub colour: i16,
    pub rainbow: bool,
    pub pause: bool,
}
Expand description

The global state object

Fields

bold: isizeconsole: boololdstyle: boolscreensaver: boolxwindow: boolupdate: usizecolour: i16rainbow: boolpause: bool

Implementations

Get the new config object based on command line arguments

Update the config based on any keypresses

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.