Struct x11rb_protocol::protocol::xkb::SetMapAux
source · pub struct SetMapAux {
pub types: Option<Vec<SetKeyType>>,
pub syms: Option<Vec<KeySymMap>>,
pub key_actions: Option<SetMapAuxKeyActions>,
pub behaviors: Option<Vec<SetBehavior>>,
pub vmods: Option<Vec<u8>>,
pub explicit: Option<Vec<SetExplicit>>,
pub modmap: Option<Vec<KeyModMap>>,
pub vmodmap: Option<Vec<KeyVModMap>>,
}
Expand description
Auxiliary and optional information for the set_map
function
Fields§
§types: Option<Vec<SetKeyType>>
§syms: Option<Vec<KeySymMap>>
§key_actions: Option<SetMapAuxKeyActions>
§behaviors: Option<Vec<SetBehavior>>
§vmods: Option<Vec<u8>>
§explicit: Option<Vec<SetExplicit>>
§modmap: Option<Vec<KeyModMap>>
§vmodmap: Option<Vec<KeyVModMap>>
Implementations§
source§impl SetMapAux
impl SetMapAux
fn serialize( &self, present: u16, n_types: u8, n_key_syms: u8, n_key_actions: u8, total_actions: u16, total_key_behaviors: u8, virtual_mods: u16, total_key_explicit: u8, total_mod_map_keys: u8, total_v_mod_map_keys: u8, ) -> Vec<u8>
fn serialize_into( &self, bytes: &mut Vec<u8>, present: u16, n_types: u8, n_key_syms: u8, n_key_actions: u8, total_actions: u16, total_key_behaviors: u8, virtual_mods: u16, total_key_explicit: u8, total_mod_map_keys: u8, total_v_mod_map_keys: u8, )
source§impl SetMapAux
impl SetMapAux
sourcepub fn key_actions<I>(self, value: I) -> Self
pub fn key_actions<I>(self, value: I) -> Self
Set the key_actions
field of this structure.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SetMapAux
impl RefUnwindSafe for SetMapAux
impl Send for SetMapAux
impl Sync for SetMapAux
impl Unpin for SetMapAux
impl UnwindSafe for SetMapAux
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)