Struct nannou::ui::backend::glium::glium::glutin::ModifiersState []

pub struct ModifiersState {
    pub shift: bool,
    pub ctrl: bool,
    pub alt: bool,
    pub logo: bool,
}

Represents the current state of the keyboard modifiers

Each field of this struct represents a modifier and is true if this modifier is active.

Fields

The "shift" key

The "control" key

The "alt" key

The "logo" key

This is the "windows" key on PC and "command" key on Mac.

Trait Implementations

impl Default for ModifiersState

Returns the "default value" for a type. Read more

impl Copy for ModifiersState

impl Eq for ModifiersState

impl Hash for ModifiersState

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<ModifiersState> for ModifiersState

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<XIModifierState> for ModifiersState

Performs the conversion.

impl Clone for ModifiersState

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ModifiersState

Formats the value using the given formatter. Read more

Auto Trait Implementations