[][src]Struct breadx::auto::xkb::SetMapRequest

pub struct SetMapRequest {
    pub req_type: u8,
    pub device_spec: DeviceSpec,
    pub length: u16,
    pub present: MapPart,
    pub flags: SetMapFlags,
    pub min_key_code: Keycode,
    pub max_key_code: Keycode,
    pub first_type: u8,
    pub first_key_sym: Keycode,
    pub total_syms: u16,
    pub first_key_action: Keycode,
    pub first_key_behavior: Keycode,
    pub n_key_behaviors: u8,
    pub first_key_explicit: Keycode,
    pub n_key_explicit: u8,
    pub first_mod_map_key: Keycode,
    pub n_mod_map_keys: u8,
    pub first_v_mod_map_key: Keycode,
    pub n_v_mod_map_keys: u8,
    pub virtual_mods: VMod,
    pub types: Vec<SetKeyType>,
    pub syms: Vec<KeySymMap>,
    pub actions_count: Vec<u8>,
    pub actions: Vec<Action>,
    pub behaviors: Vec<SetBehavior>,
    pub vmods: Vec<u8>,
    pub explicit: Vec<SetExplicit>,
    pub modmap: Vec<KeyModMap>,
    pub vmodmap: Vec<KeyVModMap>,
}

Fields

req_type: u8device_spec: DeviceSpeclength: u16present: MapPartflags: SetMapFlagsmin_key_code: Keycodemax_key_code: Keycodefirst_type: u8first_key_sym: Keycodetotal_syms: u16first_key_action: Keycodefirst_key_behavior: Keycoden_key_behaviors: u8first_key_explicit: Keycoden_key_explicit: u8first_mod_map_key: Keycoden_mod_map_keys: u8first_v_mod_map_key: Keycoden_v_mod_map_keys: u8virtual_mods: VModtypes: Vec<SetKeyType>syms: Vec<KeySymMap>actions_count: Vec<u8>actions: Vec<Action>behaviors: Vec<SetBehavior>vmods: Vec<u8>explicit: Vec<SetExplicit>modmap: Vec<KeyModMap>vmodmap: Vec<KeyVModMap>

Trait Implementations

impl AsByteSequence for SetMapRequest[src]

impl Clone for SetMapRequest[src]

impl Debug for SetMapRequest[src]

impl Default for SetMapRequest[src]

impl Request for SetMapRequest[src]

type Reply = ()

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.