Struct freya::events::keyboard::KeyboardData   
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: ModifiersImplementations§
§impl KeyboardData
 
impl KeyboardData
pub fn new(key: Key, code: Code, modifiers: Modifiers) -> KeyboardData
§impl KeyboardData
 
impl KeyboardData
Trait Implementations§
§impl Clone for KeyboardData
 
impl Clone for KeyboardData
§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 moreAuto Trait Implementations§
impl RefUnwindSafe for KeyboardData
impl Send for KeyboardData
impl Sync for KeyboardData
impl Unpin for KeyboardData
impl UnwindSafe for KeyboardData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more