Struct GetStateReply
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§
§impl Clone for GetStateReply
impl Clone for GetStateReply
§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 more§impl Debug for GetStateReply
impl Debug for GetStateReply
§impl Default for GetStateReply
impl Default for GetStateReply
§fn default() -> GetStateReply
fn default() -> GetStateReply
Returns the “default value” for a type. Read more
§impl From<GetStateReply> for Reply
impl From<GetStateReply> for Reply
§fn from(reply: GetStateReply) -> Reply
fn from(reply: GetStateReply) -> Reply
Converts to this type from the input type.
§impl Serialize for GetStateReply
impl Serialize for GetStateReply
§impl TryParse for GetStateReply
impl TryParse for GetStateReply
§fn try_parse(initial_value: &[u8]) -> Result<(GetStateReply, &[u8]), ParseError>
fn try_parse(initial_value: &[u8]) -> Result<(GetStateReply, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
impl Copy 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> 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
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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