Struct x11::xlib::_XkbExtensionDeviceNotifyEvent
source · #[repr(C)]pub struct _XkbExtensionDeviceNotifyEvent {Show 16 fields
pub type_: c_int,
pub serial: c_ulong,
pub send_event: Bool,
pub display: *mut Display,
pub time: Time,
pub xkb_type: c_int,
pub device: c_int,
pub reason: c_uint,
pub supported: c_uint,
pub unsupported: c_uint,
pub first_btn: c_int,
pub num_btns: c_int,
pub leds_defined: c_uint,
pub led_state: c_uint,
pub led_class: c_int,
pub led_id: c_int,
}
Fields§
§type_: c_int
§serial: c_ulong
§send_event: Bool
§display: *mut Display
§time: Time
§xkb_type: c_int
§device: c_int
§reason: c_uint
§supported: c_uint
§unsupported: c_uint
§first_btn: c_int
§num_btns: c_int
§leds_defined: c_uint
§led_state: c_uint
§led_class: c_int
§led_id: c_int
Trait Implementations§
source§impl Clone for _XkbExtensionDeviceNotifyEvent
impl Clone for _XkbExtensionDeviceNotifyEvent
source§fn clone(&self) -> _XkbExtensionDeviceNotifyEvent
fn clone(&self) -> _XkbExtensionDeviceNotifyEvent
Returns a copy 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 PartialEq for _XkbExtensionDeviceNotifyEvent
impl PartialEq for _XkbExtensionDeviceNotifyEvent
source§fn eq(&self, other: &_XkbExtensionDeviceNotifyEvent) -> bool
fn eq(&self, other: &_XkbExtensionDeviceNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for _XkbExtensionDeviceNotifyEvent
impl StructuralPartialEq for _XkbExtensionDeviceNotifyEvent
Auto Trait Implementations§
impl Freeze for _XkbExtensionDeviceNotifyEvent
impl RefUnwindSafe for _XkbExtensionDeviceNotifyEvent
impl !Send for _XkbExtensionDeviceNotifyEvent
impl !Sync for _XkbExtensionDeviceNotifyEvent
impl Unpin for _XkbExtensionDeviceNotifyEvent
impl UnwindSafe for _XkbExtensionDeviceNotifyEvent
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