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
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