pub struct KeyboardKey {
pub device: Device,
pub time: u64,
pub key: u32,
pub state: KeyState,
}Fields§
§device: Device§time: u64§key: u32§state: KeyStateTrait Implementations§
Source§impl Clone for KeyboardKey
impl Clone for KeyboardKey
Source§fn clone(&self) -> KeyboardKey
fn clone(&self) -> KeyboardKey
Returns a duplicate 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 KeyboardKey
impl Debug for KeyboardKey
Source§impl DeviceEvent for KeyboardKey
impl DeviceEvent for KeyboardKey
Source§impl PartialEq for KeyboardKey
impl PartialEq for KeyboardKey
impl StructuralPartialEq for KeyboardKey
Auto Trait Implementations§
impl Freeze for KeyboardKey
impl RefUnwindSafe for KeyboardKey
impl Send for KeyboardKey
impl Sync for KeyboardKey
impl Unpin for KeyboardKey
impl UnwindSafe for KeyboardKey
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