pub struct KeyChangeEvent {
pub col: u8,
pub row: u8,
pub pressed: bool,
}
Expand description
Represents a key event.
Used generically to indicate that the state of a physical key has changed
Fields§
§col: u8
§row: u8
§pressed: bool
Trait Implementations§
Source§impl Clone for KeyChangeEvent
impl Clone for KeyChangeEvent
Source§fn clone(&self) -> KeyChangeEvent
fn clone(&self) -> KeyChangeEvent
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 moreSource§impl Debug for KeyChangeEvent
impl Debug for KeyChangeEvent
Source§impl Format for KeyChangeEvent
impl Format for KeyChangeEvent
Source§impl PartialEq for KeyChangeEvent
impl PartialEq for KeyChangeEvent
impl Eq for KeyChangeEvent
impl StructuralPartialEq for KeyChangeEvent
Auto Trait Implementations§
impl Freeze for KeyChangeEvent
impl RefUnwindSafe for KeyChangeEvent
impl Send for KeyChangeEvent
impl Sync for KeyChangeEvent
impl Unpin for KeyChangeEvent
impl UnwindSafe for KeyChangeEvent
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