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]
impl Clone for Keys
fn clone(&self) -> Keys
[src]
fn clone(&self) -> Keys
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Keys
[src]
impl Debug for Keys
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for Keys
[src]
impl Default for Keys