Struct x11rb_protocol::protocol::xkb::NamesNotifyEvent
source · pub struct NamesNotifyEvent {Show 17 fields
pub response_type: u8,
pub xkb_type: u8,
pub sequence: u16,
pub time: Timestamp,
pub device_id: u8,
pub changed: NameDetail,
pub first_type: u8,
pub n_types: u8,
pub first_level_name: u8,
pub n_level_names: u8,
pub n_radio_groups: u8,
pub n_key_aliases: u8,
pub changed_group_names: SetOfGroup,
pub changed_virtual_mods: VMod,
pub first_key: Keycode,
pub n_keys: u8,
pub changed_indicators: u32,
}
Fields§
§response_type: u8
§xkb_type: u8
§sequence: u16
§time: Timestamp
§device_id: u8
§changed: NameDetail
§first_type: u8
§n_types: u8
§first_level_name: u8
§n_level_names: u8
§n_radio_groups: u8
§n_key_aliases: u8
§changed_group_names: SetOfGroup
§changed_virtual_mods: VMod
§first_key: Keycode
§n_keys: u8
§changed_indicators: u32
Trait Implementations§
source§impl Clone for NamesNotifyEvent
impl Clone for NamesNotifyEvent
source§fn clone(&self) -> NamesNotifyEvent
fn clone(&self) -> NamesNotifyEvent
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 NamesNotifyEvent
impl Debug for NamesNotifyEvent
source§impl Default for NamesNotifyEvent
impl Default for NamesNotifyEvent
source§fn default() -> NamesNotifyEvent
fn default() -> NamesNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NamesNotifyEvent
impl<'de> Deserialize<'de> for NamesNotifyEvent
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<&NamesNotifyEvent> for [u8; 32]
impl From<&NamesNotifyEvent> for [u8; 32]
source§fn from(input: &NamesNotifyEvent) -> Self
fn from(input: &NamesNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<NamesNotifyEvent> for [u8; 32]
impl From<NamesNotifyEvent> for [u8; 32]
source§fn from(input: NamesNotifyEvent) -> Self
fn from(input: NamesNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Hash for NamesNotifyEvent
impl Hash for NamesNotifyEvent
source§impl Ord for NamesNotifyEvent
impl Ord for NamesNotifyEvent
source§fn cmp(&self, other: &NamesNotifyEvent) -> Ordering
fn cmp(&self, other: &NamesNotifyEvent) -> 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 NamesNotifyEvent
impl PartialEq for NamesNotifyEvent
source§fn eq(&self, other: &NamesNotifyEvent) -> bool
fn eq(&self, other: &NamesNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NamesNotifyEvent
impl PartialOrd for NamesNotifyEvent
source§fn partial_cmp(&self, other: &NamesNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &NamesNotifyEvent) -> 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 NamesNotifyEvent
impl Serialize for NamesNotifyEvent
source§impl Serialize for NamesNotifyEvent
impl Serialize for NamesNotifyEvent
source§impl TryParse for NamesNotifyEvent
impl TryParse for NamesNotifyEvent
impl Copy for NamesNotifyEvent
impl Eq for NamesNotifyEvent
impl StructuralPartialEq for NamesNotifyEvent
Auto Trait Implementations§
impl Freeze for NamesNotifyEvent
impl RefUnwindSafe for NamesNotifyEvent
impl Send for NamesNotifyEvent
impl Sync for NamesNotifyEvent
impl Unpin for NamesNotifyEvent
impl UnwindSafe for NamesNotifyEvent
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