Struct freya_elements::events::keyboard::KeyboardData
source · pub struct KeyboardData {
pub key: Key,
pub code: Code,
pub modifiers: Modifiers,
}
Expand description
Data of a Keyboard event.
Fields§
§key: Key
§code: Code
§modifiers: Modifiers
Implementations§
Trait Implementations§
source§impl Clone for KeyboardData
impl Clone for KeyboardData
source§fn clone(&self) -> KeyboardData
fn clone(&self) -> KeyboardData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more