Struct nannou::state::keys::Keys
[−]
[src]
pub struct Keys { pub mods: ModifiersState, pub down: Down, }
The state of the keyboard.
Fields
mods: ModifiersState
The state of the modifier keys as last indicated by winit.
down: Down
The state of all keys as tracked via the nannou App event handling.
Trait Implementations
impl Clone for Keys
[src]
fn clone(&self) -> Keys
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Keys
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more