pub struct KeyEvent {
pub main_key: Key,
pub ctrl: bool,
pub alt: bool,
pub shift: bool,
}
Fields§
§main_key: Key
§ctrl: bool
§alt: bool
§shift: bool
Implementations§
Trait Implementations§
Source§impl From<KeyEvent> for InternalEvent
impl From<KeyEvent> for InternalEvent
Source§impl Ord for KeyEvent
impl Ord for KeyEvent
Source§impl PartialOrd for KeyEvent
impl PartialOrd for KeyEvent
impl Copy for KeyEvent
impl Eq for KeyEvent
impl StructuralPartialEq for KeyEvent
Auto Trait Implementations§
impl Freeze for KeyEvent
impl RefUnwindSafe for KeyEvent
impl Send for KeyEvent
impl Sync for KeyEvent
impl Unpin for KeyEvent
impl UnwindSafe for KeyEvent
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