Struct x11rb_protocol::protocol::xkb::SetNamesAux
source · pub struct SetNamesAux {Show 14 fields
pub keycodes_name: Option<Atom>,
pub geometry_name: Option<Atom>,
pub symbols_name: Option<Atom>,
pub phys_symbols_name: Option<Atom>,
pub types_name: Option<Atom>,
pub compat_name: Option<Atom>,
pub type_names: Option<Vec<Atom>>,
pub kt_level_names: Option<SetNamesAuxKTLevelNames>,
pub indicator_names: Option<Vec<Atom>>,
pub virtual_mod_names: Option<Vec<Atom>>,
pub groups: Option<Vec<Atom>>,
pub key_names: Option<Vec<KeyName>>,
pub key_aliases: Option<Vec<KeyAlias>>,
pub radio_group_names: Option<Vec<Atom>>,
}
Expand description
Auxiliary and optional information for the set_names
function
Fields§
§keycodes_name: Option<Atom>
§geometry_name: Option<Atom>
§symbols_name: Option<Atom>
§phys_symbols_name: Option<Atom>
§types_name: Option<Atom>
§compat_name: Option<Atom>
§type_names: Option<Vec<Atom>>
§kt_level_names: Option<SetNamesAuxKTLevelNames>
§indicator_names: Option<Vec<Atom>>
§virtual_mod_names: Option<Vec<Atom>>
§groups: Option<Vec<Atom>>
§key_names: Option<Vec<KeyName>>
§key_aliases: Option<Vec<KeyAlias>>
§radio_group_names: Option<Vec<Atom>>
Implementations§
source§impl SetNamesAux
impl SetNamesAux
source§impl SetNamesAux
impl SetNamesAux
fn serialize( &self, which: u32, n_types: u8, indicators: u32, virtual_mods: u16, group_names: u8, n_keys: u8, n_key_aliases: u8, n_radio_groups: u8, ) -> Vec<u8>
fn serialize_into( &self, bytes: &mut Vec<u8>, which: u32, n_types: u8, indicators: u32, virtual_mods: u16, group_names: u8, n_keys: u8, n_key_aliases: u8, n_radio_groups: u8, )
source§impl SetNamesAux
impl SetNamesAux
fn switch_expr(&self) -> u32
source§impl SetNamesAux
impl SetNamesAux
sourcepub fn keycodes_name<I>(self, value: I) -> Self
pub fn keycodes_name<I>(self, value: I) -> Self
Set the keycodes_name
field of this structure.
sourcepub fn geometry_name<I>(self, value: I) -> Self
pub fn geometry_name<I>(self, value: I) -> Self
Set the geometry_name
field of this structure.
sourcepub fn symbols_name<I>(self, value: I) -> Self
pub fn symbols_name<I>(self, value: I) -> Self
Set the symbols_name
field of this structure.
sourcepub fn phys_symbols_name<I>(self, value: I) -> Self
pub fn phys_symbols_name<I>(self, value: I) -> Self
Set the phys_symbols_name
field of this structure.
sourcepub fn types_name<I>(self, value: I) -> Self
pub fn types_name<I>(self, value: I) -> Self
Set the types_name
field of this structure.
sourcepub fn compat_name<I>(self, value: I) -> Self
pub fn compat_name<I>(self, value: I) -> Self
Set the compat_name
field of this structure.
sourcepub fn type_names<I>(self, value: I) -> Self
pub fn type_names<I>(self, value: I) -> Self
Set the type_names
field of this structure.
sourcepub fn kt_level_names<I>(self, value: I) -> Self
pub fn kt_level_names<I>(self, value: I) -> Self
Set the kt_level_names
field of this structure.
sourcepub fn indicator_names<I>(self, value: I) -> Self
pub fn indicator_names<I>(self, value: I) -> Self
Set the indicator_names
field of this structure.
sourcepub fn virtual_mod_names<I>(self, value: I) -> Self
pub fn virtual_mod_names<I>(self, value: I) -> Self
Set the virtual_mod_names
field of this structure.
sourcepub fn key_aliases<I>(self, value: I) -> Self
pub fn key_aliases<I>(self, value: I) -> Self
Set the key_aliases
field of this structure.
Trait Implementations§
source§impl Clone for SetNamesAux
impl Clone for SetNamesAux
source§fn clone(&self) -> SetNamesAux
fn clone(&self) -> SetNamesAux
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SetNamesAux
impl Debug for SetNamesAux
source§impl Default for SetNamesAux
impl Default for SetNamesAux
source§fn default() -> SetNamesAux
fn default() -> SetNamesAux
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetNamesAux
impl RefUnwindSafe for SetNamesAux
impl Send for SetNamesAux
impl Sync for SetNamesAux
impl Unpin for SetNamesAux
impl UnwindSafe for SetNamesAux
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
)