Struct x11rb_protocol::protocol::xkb::StateNotifyEvent
source · pub struct StateNotifyEvent {Show 24 fields
pub response_type: u8,
pub xkb_type: u8,
pub sequence: u16,
pub time: Timestamp,
pub device_id: u8,
pub mods: ModMask,
pub base_mods: ModMask,
pub latched_mods: ModMask,
pub locked_mods: ModMask,
pub group: Group,
pub base_group: i16,
pub latched_group: i16,
pub locked_group: Group,
pub compat_state: ModMask,
pub grab_mods: ModMask,
pub compat_grab_mods: ModMask,
pub lookup_mods: ModMask,
pub compat_loockup_mods: ModMask,
pub ptr_btn_state: KeyButMask,
pub changed: StatePart,
pub keycode: Keycode,
pub event_type: u8,
pub request_major: u8,
pub request_minor: u8,
}
Fields§
§response_type: u8
§xkb_type: u8
§sequence: u16
§time: Timestamp
§device_id: u8
§mods: ModMask
§base_mods: ModMask
§latched_mods: ModMask
§locked_mods: ModMask
§group: Group
§base_group: i16
§latched_group: i16
§locked_group: Group
§compat_state: ModMask
§grab_mods: ModMask
§compat_grab_mods: ModMask
§lookup_mods: ModMask
§compat_loockup_mods: ModMask
§ptr_btn_state: KeyButMask
§changed: StatePart
§keycode: Keycode
§event_type: u8
§request_major: u8
§request_minor: u8
Trait Implementations§
source§impl Clone for StateNotifyEvent
impl Clone for StateNotifyEvent
source§fn clone(&self) -> StateNotifyEvent
fn clone(&self) -> StateNotifyEvent
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 StateNotifyEvent
impl Debug for StateNotifyEvent
source§impl Default for StateNotifyEvent
impl Default for StateNotifyEvent
source§fn default() -> StateNotifyEvent
fn default() -> StateNotifyEvent
Returns the “default value” for a type. Read more
source§impl From<&StateNotifyEvent> for [u8; 32]
impl From<&StateNotifyEvent> for [u8; 32]
source§fn from(input: &StateNotifyEvent) -> Self
fn from(input: &StateNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<StateNotifyEvent> for [u8; 32]
impl From<StateNotifyEvent> for [u8; 32]
source§fn from(input: StateNotifyEvent) -> Self
fn from(input: StateNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Serialize for StateNotifyEvent
impl Serialize for StateNotifyEvent
source§impl TryParse for StateNotifyEvent
impl TryParse for StateNotifyEvent
impl Copy for StateNotifyEvent
Auto Trait Implementations§
impl RefUnwindSafe for StateNotifyEvent
impl Send for StateNotifyEvent
impl Sync for StateNotifyEvent
impl Unpin for StateNotifyEvent
impl UnwindSafe for StateNotifyEvent
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