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_intserial: c_ulongsend_event: Booldisplay: *mut Displaytime: Timexkb_type: c_intdevice: c_intreason: c_uintsupported: c_uintunsupported: c_uintfirst_btn: c_intnum_btns: c_intleds_defined: c_uintled_state: c_uintled_class: c_intled_id: c_intTrait Implementations
sourceimpl Clone for _XkbExtensionDeviceNotifyEvent
impl Clone for _XkbExtensionDeviceNotifyEvent
sourcefn clone(&self) -> _XkbExtensionDeviceNotifyEvent
fn clone(&self) -> _XkbExtensionDeviceNotifyEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl PartialEq<_XkbExtensionDeviceNotifyEvent> for _XkbExtensionDeviceNotifyEvent
impl PartialEq<_XkbExtensionDeviceNotifyEvent> for _XkbExtensionDeviceNotifyEvent
sourcefn 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 ==. Read more
impl Copy for _XkbExtensionDeviceNotifyEvent
impl StructuralPartialEq for _XkbExtensionDeviceNotifyEvent
Auto Trait Implementations
impl RefUnwindSafe for _XkbExtensionDeviceNotifyEvent
impl !Send for _XkbExtensionDeviceNotifyEvent
impl !Sync for _XkbExtensionDeviceNotifyEvent
impl Unpin for _XkbExtensionDeviceNotifyEvent
impl UnwindSafe for _XkbExtensionDeviceNotifyEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more