Struct nannou::state::keys::Keys [] [src]

pub struct Keys {
    pub mods: ModifiersState,
    pub down: Down,
}

The state of the keyboard.

Fields

The state of the modifier keys as last indicated by winit.

The state of all keys as tracked via the nannou App event handling.

Trait Implementations

impl Clone for Keys
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Keys
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for Keys
[src]

[src]

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

Auto Trait Implementations

impl Send for Keys

impl Sync for Keys