#[repr(C)]
pub struct XkbStateNotifyEvent {
Show 26 fields pub type_: i32, pub serial: u64, pub send_event: i32, pub display: *mut _XDisplay, pub time: u64, pub xkb_type: i32, pub device: i32, pub changed: u32, pub group: i32, pub base_group: i32, pub latched_group: i32, pub locked_group: i32, pub mods: u32, pub base_mods: u32, pub latched_mods: u32, pub locked_mods: u32, pub compat_state: i32, pub grab_mods: u8, pub compat_grab_mods: u8, pub lookup_mods: u8, pub compat_lookup_mods: u8, pub ptr_buttons: i32, pub keycode: u8, pub event_type: i8, pub req_major: i8, pub req_minor: i8,
}

Fields

type_: i32serial: u64send_event: i32display: *mut _XDisplaytime: u64xkb_type: i32device: i32changed: u32group: i32base_group: i32latched_group: i32locked_group: i32mods: u32base_mods: u32latched_mods: u32locked_mods: u32compat_state: i32grab_mods: u8compat_grab_mods: u8lookup_mods: u8compat_lookup_mods: u8ptr_buttons: i32keycode: u8event_type: i8req_major: i8req_minor: i8

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.