pub struct SetNamesAux {Show 14 fields
pub keycodes_name: Option<u32>,
pub geometry_name: Option<u32>,
pub symbols_name: Option<u32>,
pub phys_symbols_name: Option<u32>,
pub types_name: Option<u32>,
pub compat_name: Option<u32>,
pub type_names: Option<Vec<u32, Global>>,
pub bitcase8: Option<SetNamesAuxBitcase8>,
pub indicator_names: Option<Vec<u32, Global>>,
pub virtual_mod_names: Option<Vec<u32, Global>>,
pub groups: Option<Vec<u32, Global>>,
pub key_names: Option<Vec<KeyName, Global>>,
pub key_aliases: Option<Vec<KeyAlias, Global>>,
pub radio_group_names: Option<Vec<u32, Global>>,
}
Expand description
Auxiliary and optional information for the set_names
function
Fields
keycodes_name: Option<u32>
geometry_name: Option<u32>
symbols_name: Option<u32>
phys_symbols_name: Option<u32>
types_name: Option<u32>
compat_name: Option<u32>
type_names: Option<Vec<u32, Global>>
bitcase8: Option<SetNamesAuxBitcase8>
indicator_names: Option<Vec<u32, Global>>
virtual_mod_names: Option<Vec<u32, Global>>
groups: Option<Vec<u32, Global>>
key_names: Option<Vec<KeyName, Global>>
key_aliases: Option<Vec<KeyAlias, Global>>
radio_group_names: Option<Vec<u32, Global>>
Implementations
sourceimpl SetNamesAux
impl SetNamesAux
sourcepub fn new() -> SetNamesAux
pub fn new() -> SetNamesAux
Create a new instance with all fields unset / not present.
sourcepub fn keycodes_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn keycodes_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the keycodes_name
field of this structure.
sourcepub fn geometry_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn geometry_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the geometry_name
field of this structure.
sourcepub fn symbols_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn symbols_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the symbols_name
field of this structure.
sourcepub fn phys_symbols_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn phys_symbols_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the phys_symbols_name
field of this structure.
sourcepub fn types_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn types_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the types_name
field of this structure.
sourcepub fn compat_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
pub fn compat_name<I>(self, value: I) -> SetNamesAux where
I: Into<Option<u32>>,
Set the compat_name
field of this structure.
sourcepub fn type_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
pub fn type_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
Set the type_names
field of this structure.
sourcepub fn bitcase8<I>(self, value: I) -> SetNamesAux where
I: Into<Option<SetNamesAuxBitcase8>>,
pub fn bitcase8<I>(self, value: I) -> SetNamesAux where
I: Into<Option<SetNamesAuxBitcase8>>,
Set the bitcase8
field of this structure.
sourcepub fn indicator_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
pub fn indicator_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
Set the indicator_names
field of this structure.
sourcepub fn virtual_mod_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
pub fn virtual_mod_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
Set the virtual_mod_names
field of this structure.
sourcepub fn groups<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
pub fn groups<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
Set the groups
field of this structure.
sourcepub fn key_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<KeyName, Global>>>,
pub fn key_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<KeyName, Global>>>,
Set the key_names
field of this structure.
sourcepub fn key_aliases<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<KeyAlias, Global>>>,
pub fn key_aliases<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<KeyAlias, Global>>>,
Set the key_aliases
field of this structure.
sourcepub fn radio_group_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
pub fn radio_group_names<I>(self, value: I) -> SetNamesAux where
I: Into<Option<Vec<u32, Global>>>,
Set the radio_group_names
field of this structure.
Trait Implementations
sourceimpl Clone for SetNamesAux
impl Clone for SetNamesAux
sourcefn clone(&self) -> SetNamesAux
fn clone(&self) -> SetNamesAux
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SetNamesAux
impl Debug for SetNamesAux
sourceimpl Default for SetNamesAux
impl Default for SetNamesAux
sourcefn default() -> SetNamesAux
fn default() -> SetNamesAux
Returns the “default value” for a type. Read more
sourceimpl Hash for SetNamesAux
impl Hash for SetNamesAux
sourceimpl Ord for SetNamesAux
impl Ord for SetNamesAux
sourceimpl PartialEq<SetNamesAux> for SetNamesAux
impl PartialEq<SetNamesAux> for SetNamesAux
sourcefn eq(&self, other: &SetNamesAux) -> bool
fn eq(&self, other: &SetNamesAux) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SetNamesAux) -> bool
fn ne(&self, other: &SetNamesAux) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SetNamesAux> for SetNamesAux
impl PartialOrd<SetNamesAux> for SetNamesAux
sourcefn partial_cmp(&self, other: &SetNamesAux) -> Option<Ordering>
fn partial_cmp(&self, other: &SetNamesAux) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for SetNamesAux
impl StructuralEq for SetNamesAux
impl StructuralPartialEq for SetNamesAux
Auto Trait Implementations
impl RefUnwindSafe for SetNamesAux
impl Send for SetNamesAux
impl Sync for SetNamesAux
impl Unpin for SetNamesAux
impl UnwindSafe for SetNamesAux
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more