Struct xcb::xkb::ExtensionDeviceNotifyEvent
source · pub struct ExtensionDeviceNotifyEvent { /* private fields */ }
Expand description
The ExtensionDeviceNotifyEvent
event.
Implementations§
source§impl ExtensionDeviceNotifyEvent
impl ExtensionDeviceNotifyEvent
pub fn new( event_base: u8, xkb_type: u8, time: Timestamp, device_id: u8, reason: XiFeature, led_class: LedClassResult, led_id: u16, leds_defined: u32, led_state: u32, first_button: u8, n_buttons: u8, supported: XiFeature, unsupported: XiFeature, ) -> ExtensionDeviceNotifyEvent
pub fn response_type(&self) -> u8
pub fn xkb_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn time(&self) -> Timestamp
pub fn device_id(&self) -> u8
pub fn reason(&self) -> XiFeature
pub fn led_class(&self) -> LedClassResult
pub fn led_id(&self) -> u16
pub fn leds_defined(&self) -> u32
pub fn led_state(&self) -> u32
pub fn supported(&self) -> XiFeature
pub fn unsupported(&self) -> XiFeature
Trait Implementations§
source§impl BaseEvent for ExtensionDeviceNotifyEvent
impl BaseEvent for ExtensionDeviceNotifyEvent
source§impl Debug for ExtensionDeviceNotifyEvent
impl Debug for ExtensionDeviceNotifyEvent
source§impl Drop for ExtensionDeviceNotifyEvent
impl Drop for ExtensionDeviceNotifyEvent
impl Send for ExtensionDeviceNotifyEvent
impl Sync for ExtensionDeviceNotifyEvent
Auto Trait Implementations§
impl Freeze for ExtensionDeviceNotifyEvent
impl RefUnwindSafe for ExtensionDeviceNotifyEvent
impl Unpin for ExtensionDeviceNotifyEvent
impl UnwindSafe for ExtensionDeviceNotifyEvent
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