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 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 Serialize for MapNotifyEvent
impl Serialize for MapNotifyEvent
source§impl TryParse for MapNotifyEvent
impl TryParse for MapNotifyEvent
impl Copy 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