#[repr(C)]
pub struct XkbStateNotifyEvent {
Show 26 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 changed: c_uint, pub group: c_int, pub base_group: c_int, pub latched_group: c_int, pub locked_group: c_int, pub mods: c_uint, pub base_mods: c_uint, pub latched_mods: c_uint, pub locked_mods: c_uint, pub compat_state: c_int, pub grab_mods: c_uchar, pub compat_grab_mods: c_uchar, pub lookup_mods: c_uchar, pub compat_lookup_mods: c_uchar, pub ptr_buttons: c_int, pub keycode: KeyCode, pub event_type: c_char, pub req_major: c_char, pub req_minor: c_char,
}

Fields

type_: c_intserial: c_ulongsend_event: Booldisplay: *mut Displaytime: Timexkb_type: c_intdevice: c_intchanged: c_uintgroup: c_intbase_group: c_intlatched_group: c_intlocked_group: c_intmods: c_uintbase_mods: c_uintlatched_mods: c_uintlocked_mods: c_uintcompat_state: c_intgrab_mods: c_ucharcompat_grab_mods: c_ucharlookup_mods: c_ucharcompat_lookup_mods: c_ucharptr_buttons: c_intkeycode: KeyCodeevent_type: c_charreq_major: c_charreq_minor: c_char

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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

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.