Struct x11rb::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 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 Serialize for GetStateReply
impl Serialize for GetStateReply
source§impl TryParse for GetStateReply
impl TryParse for GetStateReply
source§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
)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