Struct xcb::xkb::SetMap

source · []
pub struct SetMap<'a> {
Show 26 fields pub device_spec: DeviceSpec, pub flags: SetMapFlags, pub min_key_code: Keycode, pub max_key_code: Keycode, pub first_type: u8, pub n_types: u8, pub first_key_sym: Keycode, pub n_key_syms: u8, pub total_syms: u16, pub first_key_action: Keycode, pub n_key_actions: u8, pub total_actions: u16, pub first_key_behavior: Keycode, pub n_key_behaviors: u8, pub total_key_behaviors: u8, pub first_key_explicit: Keycode, pub n_key_explicit: u8, pub total_key_explicit: u8, pub first_mod_map_key: Keycode, pub n_mod_map_keys: u8, pub total_mod_map_keys: u8, pub first_v_mod_map_key: Keycode, pub n_v_mod_map_keys: u8, pub total_v_mod_map_keys: u8, pub virtual_mods: VMod, pub values: &'a [SetMapValues],
}
Expand description

The SetMap request.

This request has no reply.

Associated cookie types are VoidCookie and VoidCookieChecked.

Fields

device_spec: DeviceSpecflags: SetMapFlagsmin_key_code: Keycodemax_key_code: Keycodefirst_type: u8n_types: u8first_key_sym: Keycoden_key_syms: u8total_syms: u16first_key_action: Keycoden_key_actions: u8total_actions: u16first_key_behavior: Keycoden_key_behaviors: u8total_key_behaviors: u8first_key_explicit: Keycoden_key_explicit: u8total_key_explicit: u8first_mod_map_key: Keycoden_mod_map_keys: u8total_mod_map_keys: u8first_v_mod_map_key: Keycoden_v_mod_map_keys: u8total_v_mod_map_keys: u8virtual_mods: VModvalues: &'a [SetMapValues]

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

Actual implementation of the request sending Read more

The default cookie associated to this request.

false if the request returns a reply, true otherwise.

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.