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<'de> Deserialize<'de> for StateNotifyEvent
impl<'de> Deserialize<'de> for StateNotifyEvent
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<&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 Hash for StateNotifyEvent
impl Hash for StateNotifyEvent
source§impl Ord for StateNotifyEvent
impl Ord for StateNotifyEvent
source§fn cmp(&self, other: &StateNotifyEvent) -> Ordering
fn cmp(&self, other: &StateNotifyEvent) -> 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 StateNotifyEvent
impl PartialEq for StateNotifyEvent
source§fn eq(&self, other: &StateNotifyEvent) -> bool
fn eq(&self, other: &StateNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for StateNotifyEvent
impl PartialOrd for StateNotifyEvent
source§fn partial_cmp(&self, other: &StateNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &StateNotifyEvent) -> 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 StateNotifyEvent
impl Serialize for StateNotifyEvent
source§impl Serialize for StateNotifyEvent
impl Serialize for StateNotifyEvent
source§impl TryParse for StateNotifyEvent
impl TryParse for StateNotifyEvent
impl Copy for StateNotifyEvent
impl Eq for StateNotifyEvent
impl StructuralPartialEq for StateNotifyEvent
Auto Trait Implementations§
impl Freeze for StateNotifyEvent
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