Struct mg::Mode[][src]

pub struct Mode {
    pub name: &'static str,
    pub prefix: &'static str,
    pub show_count: bool,
}

A mode contains a prefix (i.e. "i") and a name (i.e. "insert"). It can only specify whether a count can be shown for it.

Fields

Trait Implementations

impl Clone for Mode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Mode

impl Sync for Mode