Struct x11rb_protocol::protocol::xkb::GetStateReply
source · pub struct GetStateReply {Show 17 fields
pub device_id: u8,
pub sequence: u16,
pub length: u32,
pub mods: ModMask,
pub base_mods: ModMask,
pub latched_mods: ModMask,
pub locked_mods: ModMask,
pub group: Group,
pub locked_group: Group,
pub base_group: i16,
pub latched_group: i16,
pub compat_state: ModMask,
pub grab_mods: ModMask,
pub compat_grab_mods: ModMask,
pub lookup_mods: ModMask,
pub compat_lookup_mods: ModMask,
pub ptr_btn_state: KeyButMask,
}
Fields§
§device_id: u8
§sequence: u16
§length: u32
§mods: ModMask
§base_mods: ModMask
§latched_mods: ModMask
§locked_mods: ModMask
§group: Group
§locked_group: Group
§base_group: i16
§latched_group: i16
§compat_state: ModMask
§grab_mods: ModMask
§compat_grab_mods: ModMask
§lookup_mods: ModMask
§compat_lookup_mods: ModMask
§ptr_btn_state: KeyButMask
Trait Implementations§
source§impl Clone for GetStateReply
impl Clone for GetStateReply
source§fn clone(&self) -> GetStateReply
fn clone(&self) -> GetStateReply
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 GetStateReply
impl Debug for GetStateReply
source§impl Default for GetStateReply
impl Default for GetStateReply
source§fn default() -> GetStateReply
fn default() -> GetStateReply
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetStateReply
impl<'de> Deserialize<'de> for GetStateReply
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<GetStateReply> for Reply
impl From<GetStateReply> for Reply
source§fn from(reply: GetStateReply) -> Reply
fn from(reply: GetStateReply) -> Reply
Converts to this type from the input type.
source§impl Hash for GetStateReply
impl Hash for GetStateReply
source§impl Ord for GetStateReply
impl Ord for GetStateReply
source§fn cmp(&self, other: &GetStateReply) -> Ordering
fn cmp(&self, other: &GetStateReply) -> 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 GetStateReply
impl PartialEq for GetStateReply
source§fn eq(&self, other: &GetStateReply) -> bool
fn eq(&self, other: &GetStateReply) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GetStateReply
impl PartialOrd for GetStateReply
source§fn partial_cmp(&self, other: &GetStateReply) -> Option<Ordering>
fn partial_cmp(&self, other: &GetStateReply) -> 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 GetStateReply
impl Serialize for GetStateReply
source§impl Serialize for GetStateReply
impl Serialize for GetStateReply
source§impl TryParse for GetStateReply
impl TryParse for GetStateReply
impl Copy for GetStateReply
impl Eq for GetStateReply
impl StructuralPartialEq for GetStateReply
Auto Trait Implementations§
impl Freeze for GetStateReply
impl RefUnwindSafe for GetStateReply
impl Send for GetStateReply
impl Sync for GetStateReply
impl Unpin for GetStateReply
impl UnwindSafe for GetStateReply
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