Enum xcb::xkb::GetKbdByNameReplyReplies

source ·
pub enum GetKbdByNameReplyReplies {
    Types {
Show 29 fields getmap_type: u8, type_device_id: u8, getmap_sequence: u16, getmap_length: u32, type_min_key_code: Keycode, type_max_key_code: Keycode, first_type: u8, n_types: u8, total_types: u8, first_key_sym: Keycode, total_syms: u16, n_key_syms: u8, first_key_action: Keycode, total_actions: u16, n_key_actions: u8, first_key_behavior: Keycode, n_key_behaviors: u8, total_key_behaviors: u8, first_key_explicit: Keycode, n_key_explicit: u8, total_key_explicit: u8, first_mod_map_key: Keycode, n_mod_map_keys: u8, total_mod_map_keys: u8, first_v_mod_map_key: Keycode, n_v_mod_map_keys: u8, total_v_mod_map_keys: u8, virtual_mods: VMod, map: Vec<GetKbdByNameReplyRepliesMap>,
}, CompatMap { compatmap_type: u8, compat_device_id: u8, compatmap_sequence: u16, compatmap_length: u32, groups_rtrn: SetOfGroup, first_si_rtrn: u16, n_total_si: u16, si_rtrn: Vec<SymInterpret>, group_rtrn: Vec<ModDef>, }, IndicatorMaps { indicatormap_type: u8, indicator_device_id: u8, indicatormap_sequence: u16, indicatormap_length: u32, which: u32, real_indicators: u32, maps: Vec<IndicatorMap>, }, KeyNames {
Show 16 fields keyname_type: u8, key_device_id: u8, keyname_sequence: u16, keyname_length: u32, key_min_key_code: Keycode, key_max_key_code: Keycode, n_types: u8, group_names: SetOfGroup, virtual_mods: VMod, first_key: Keycode, n_keys: u8, indicators: u32, n_radio_groups: u8, n_key_aliases: u8, n_kt_levels: u16, value_list: Vec<GetKbdByNameReplyRepliesValueList>,
}, Geometry {
Show 17 fields geometry_type: u8, geometry_device_id: u8, geometry_sequence: u16, geometry_length: u32, name: Atom, geometry_found: bool, width_mm: u16, height_mm: u16, n_properties: u16, n_colors: u16, n_shapes: u16, n_sections: u16, n_doodads: u16, n_key_aliases: u16, base_color_ndx: u8, label_color_ndx: u8, label_font: CountedString16Buf,
}, }

Variants§

§

Types

Fields

§getmap_type: u8
§type_device_id: u8
§getmap_sequence: u16
§getmap_length: u32
§type_min_key_code: Keycode
§type_max_key_code: Keycode
§first_type: u8
§n_types: u8
§total_types: u8
§first_key_sym: Keycode
§total_syms: u16
§n_key_syms: u8
§first_key_action: Keycode
§total_actions: u16
§n_key_actions: u8
§first_key_behavior: Keycode
§n_key_behaviors: u8
§total_key_behaviors: u8
§first_key_explicit: Keycode
§n_key_explicit: u8
§total_key_explicit: u8
§first_mod_map_key: Keycode
§n_mod_map_keys: u8
§total_mod_map_keys: u8
§first_v_mod_map_key: Keycode
§n_v_mod_map_keys: u8
§total_v_mod_map_keys: u8
§virtual_mods: VMod
§

CompatMap

Fields

§compatmap_type: u8
§compat_device_id: u8
§compatmap_sequence: u16
§compatmap_length: u32
§groups_rtrn: SetOfGroup
§first_si_rtrn: u16
§n_total_si: u16
§group_rtrn: Vec<ModDef>
§

IndicatorMaps

Fields

§indicatormap_type: u8
§indicator_device_id: u8
§indicatormap_sequence: u16
§indicatormap_length: u32
§which: u32
§real_indicators: u32
§

KeyNames

Fields

§keyname_type: u8
§key_device_id: u8
§keyname_sequence: u16
§keyname_length: u32
§key_min_key_code: Keycode
§key_max_key_code: Keycode
§n_types: u8
§group_names: SetOfGroup
§virtual_mods: VMod
§first_key: Keycode
§n_keys: u8
§indicators: u32
§n_radio_groups: u8
§n_key_aliases: u8
§n_kt_levels: u16
§

Geometry

Fields

§geometry_type: u8
§geometry_device_id: u8
§geometry_sequence: u16
§geometry_length: u32
§name: Atom
§geometry_found: bool
§width_mm: u16
§height_mm: u16
§n_properties: u16
§n_colors: u16
§n_shapes: u16
§n_sections: u16
§n_doodads: u16
§n_key_aliases: u16
§base_color_ndx: u8
§label_color_ndx: u8

Trait Implementations§

source§

impl Clone for GetKbdByNameReplyReplies

source§

fn clone(&self) -> GetKbdByNameReplyReplies

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GetKbdByNameReplyReplies

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.