Struct x11rb_protocol::protocol::xkb::GetNamesReply
source · pub struct GetNamesReply {Show 15 fields
pub device_id: u8,
pub sequence: u16,
pub length: u32,
pub min_key_code: Keycode,
pub max_key_code: Keycode,
pub n_types: u8,
pub group_names: SetOfGroup,
pub virtual_mods: VMod,
pub first_key: Keycode,
pub n_keys: u8,
pub indicators: u32,
pub n_radio_groups: u8,
pub n_key_aliases: u8,
pub n_kt_levels: u16,
pub value_list: GetNamesValueList,
}
Fields§
§device_id: u8
§sequence: u16
§length: u32
§min_key_code: Keycode
§max_key_code: Keycode
§n_types: u8
§group_names: SetOfGroup
§virtual_mods: VMod
§first_key: Keycode
§n_keys: u8
§indicators: u32
§n_radio_groups: u8
§n_key_aliases: u8
§n_kt_levels: u16
§value_list: GetNamesValueList
Trait Implementations§
source§impl Clone for GetNamesReply
impl Clone for GetNamesReply
source§fn clone(&self) -> GetNamesReply
fn clone(&self) -> GetNamesReply
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 GetNamesReply
impl Debug for GetNamesReply
source§impl Default for GetNamesReply
impl Default for GetNamesReply
source§fn default() -> GetNamesReply
fn default() -> GetNamesReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetNamesReply
impl<'de> Deserialize<'de> for GetNamesReply
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<GetNamesReply> for Reply
impl From<GetNamesReply> for Reply
source§fn from(reply: GetNamesReply) -> Reply
fn from(reply: GetNamesReply) -> Reply
Converts to this type from the input type.
source§impl Hash for GetNamesReply
impl Hash for GetNamesReply
source§impl Ord for GetNamesReply
impl Ord for GetNamesReply
source§fn cmp(&self, other: &GetNamesReply) -> Ordering
fn cmp(&self, other: &GetNamesReply) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GetNamesReply
impl PartialEq for GetNamesReply
source§fn eq(&self, other: &GetNamesReply) -> bool
fn eq(&self, other: &GetNamesReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetNamesReply
impl PartialOrd for GetNamesReply
source§fn partial_cmp(&self, other: &GetNamesReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetNamesReply) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for GetNamesReply
impl Serialize for GetNamesReply
source§impl Serialize for GetNamesReply
impl Serialize for GetNamesReply
source§impl TryParse for GetNamesReply
impl TryParse for GetNamesReply
impl Eq for GetNamesReply
impl StructuralPartialEq for GetNamesReply
Auto Trait Implementations§
impl Freeze for GetNamesReply
impl RefUnwindSafe for GetNamesReply
impl Send for GetNamesReply
impl Sync for GetNamesReply
impl Unpin for GetNamesReply
impl UnwindSafe for GetNamesReply
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> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
source§fn try_parse_fd<'a>(
value: &'a [u8],
_: &mut Vec<OwnedFd>
) -> Result<(T, &'a [u8]), ParseError>
fn try_parse_fd<'a>( value: &'a [u8], _: &mut Vec<OwnedFd> ) -> Result<(T, &'a [u8]), ParseError>
Try to parse the given values into an instance of this type. Read more