Struct xcb::xinput::DeviceStateNotifyEvent
source · pub struct DeviceStateNotifyEvent { /* private fields */ }
Expand description
The DeviceStateNotifyEvent
event.
Implementations§
source§impl DeviceStateNotifyEvent
impl DeviceStateNotifyEvent
pub fn new( event_base: u8, device_id: u8, time: Timestamp, num_keys: u8, num_buttons: u8, num_valuators: u8, classes_reported: ClassesReportedMask, buttons: [u8; 4], keys: [u8; 4], valuators: [u32; 3], ) -> DeviceStateNotifyEvent
pub fn response_type(&self) -> u8
pub fn device_id(&self) -> u8
pub fn sequence(&self) -> u16
pub fn time(&self) -> Timestamp
pub fn num_keys(&self) -> u8
pub fn num_valuators(&self) -> u8
pub fn classes_reported(&self) -> ClassesReportedMask
pub fn keys(&self) -> &[u8; 4]
pub fn valuators(&self) -> &[u32; 3]
Trait Implementations§
source§impl BaseEvent for DeviceStateNotifyEvent
impl BaseEvent for DeviceStateNotifyEvent
source§impl Debug for DeviceStateNotifyEvent
impl Debug for DeviceStateNotifyEvent
source§impl Drop for DeviceStateNotifyEvent
impl Drop for DeviceStateNotifyEvent
impl Send for DeviceStateNotifyEvent
impl Sync for DeviceStateNotifyEvent
Auto Trait Implementations§
impl Freeze for DeviceStateNotifyEvent
impl RefUnwindSafe for DeviceStateNotifyEvent
impl Unpin for DeviceStateNotifyEvent
impl UnwindSafe for DeviceStateNotifyEvent
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