Struct quicksilver::input::Keyboard
[−]
[src]
pub struct Keyboard { /* fields omitted */ }
A structure that stores each key's state
Trait Implementations
impl Copy for Keyboard
[src]
impl Clone for Keyboard
[src]
fn clone(&self) -> Keyboard
[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 Index<Key> for Keyboard
[src]
type Output = ButtonState
The returned type after indexing.
fn index(&self, index: Key) -> &ButtonState
[src]
Performs the indexing (container[index]
) operation.