Struct x11rb_protocol::protocol::xkb::MapNotifyEvent
source · pub struct MapNotifyEvent {Show 24 fields
pub response_type: u8,
pub xkb_type: u8,
pub sequence: u16,
pub time: Timestamp,
pub device_id: u8,
pub ptr_btn_actions: u8,
pub changed: MapPart,
pub min_key_code: Keycode,
pub max_key_code: Keycode,
pub first_type: u8,
pub n_types: u8,
pub first_key_sym: Keycode,
pub n_key_syms: u8,
pub first_key_act: Keycode,
pub n_key_acts: u8,
pub first_key_behavior: Keycode,
pub n_key_behavior: u8,
pub first_key_explicit: Keycode,
pub n_key_explicit: u8,
pub first_mod_map_key: Keycode,
pub n_mod_map_keys: u8,
pub first_v_mod_map_key: Keycode,
pub n_v_mod_map_keys: u8,
pub virtual_mods: VMod,
}
Fields§
§response_type: u8
§xkb_type: u8
§sequence: u16
§time: Timestamp
§device_id: u8
§ptr_btn_actions: u8
§changed: MapPart
§min_key_code: Keycode
§max_key_code: Keycode
§first_type: u8
§n_types: u8
§first_key_sym: Keycode
§n_key_syms: u8
§first_key_act: Keycode
§n_key_acts: u8
§first_key_behavior: Keycode
§n_key_behavior: u8
§first_key_explicit: Keycode
§n_key_explicit: u8
§first_mod_map_key: Keycode
§n_mod_map_keys: u8
§first_v_mod_map_key: Keycode
§n_v_mod_map_keys: u8
§virtual_mods: VMod
Trait Implementations§
source§impl Clone for MapNotifyEvent
impl Clone for MapNotifyEvent
source§fn clone(&self) -> MapNotifyEvent
fn clone(&self) -> MapNotifyEvent
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 MapNotifyEvent
impl Debug for MapNotifyEvent
source§impl Default for MapNotifyEvent
impl Default for MapNotifyEvent
source§fn default() -> MapNotifyEvent
fn default() -> MapNotifyEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MapNotifyEvent
impl<'de> Deserialize<'de> for MapNotifyEvent
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<&MapNotifyEvent> for [u8; 32]
impl From<&MapNotifyEvent> for [u8; 32]
source§fn from(input: &MapNotifyEvent) -> Self
fn from(input: &MapNotifyEvent) -> Self
Converts to this type from the input type.
source§impl From<MapNotifyEvent> for [u8; 32]
impl From<MapNotifyEvent> for [u8; 32]
source§fn from(input: MapNotifyEvent) -> Self
fn from(input: MapNotifyEvent) -> Self
Converts to this type from the input type.
source§impl Hash for MapNotifyEvent
impl Hash for MapNotifyEvent
source§impl Ord for MapNotifyEvent
impl Ord for MapNotifyEvent
source§fn cmp(&self, other: &MapNotifyEvent) -> Ordering
fn cmp(&self, other: &MapNotifyEvent) -> 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 MapNotifyEvent
impl PartialEq for MapNotifyEvent
source§fn eq(&self, other: &MapNotifyEvent) -> bool
fn eq(&self, other: &MapNotifyEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MapNotifyEvent
impl PartialOrd for MapNotifyEvent
source§fn partial_cmp(&self, other: &MapNotifyEvent) -> Option<Ordering>
fn partial_cmp(&self, other: &MapNotifyEvent) -> 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 MapNotifyEvent
impl Serialize for MapNotifyEvent
source§impl Serialize for MapNotifyEvent
impl Serialize for MapNotifyEvent
source§impl TryParse for MapNotifyEvent
impl TryParse for MapNotifyEvent
impl Copy for MapNotifyEvent
impl Eq for MapNotifyEvent
impl StructuralPartialEq for MapNotifyEvent
Auto Trait Implementations§
impl Freeze for MapNotifyEvent
impl RefUnwindSafe for MapNotifyEvent
impl Send for MapNotifyEvent
impl Sync for MapNotifyEvent
impl Unpin for MapNotifyEvent
impl UnwindSafe for MapNotifyEvent
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