Struct wayrs_client::protocol::wl_keyboard::KeyArgs
source · pub struct KeyArgs {
pub serial: u32,
pub time: u32,
pub key: u32,
pub state: KeyState,
}Fields§
§serial: u32serial number of the key event
time: u32timestamp with millisecond granularity
key: u32key that produced the event
state: KeyStatephysical state of the key
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for KeyArgs
impl Send for KeyArgs
impl Sync for KeyArgs
impl Unpin for KeyArgs
impl UnwindSafe for KeyArgs
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