Struct MapNotifyEvent
pub struct MapNotifyEvent {Show 24 fields
pub response_type: u8,
pub xkb_type: u8,
pub sequence: u16,
pub time: u32,
pub device_id: u8,
pub ptr_btn_actions: u8,
pub changed: MapPart,
pub min_key_code: u8,
pub max_key_code: u8,
pub first_type: u8,
pub n_types: u8,
pub first_key_sym: u8,
pub n_key_syms: u8,
pub first_key_act: u8,
pub n_key_acts: u8,
pub first_key_behavior: u8,
pub n_key_behavior: u8,
pub first_key_explicit: u8,
pub n_key_explicit: u8,
pub first_mod_map_key: u8,
pub n_mod_map_keys: u8,
pub first_v_mod_map_key: u8,
pub n_v_mod_map_keys: u8,
pub virtual_mods: VMod,
}
Fields§
§response_type: u8
§xkb_type: u8
§sequence: u16
§time: u32
§device_id: u8
§ptr_btn_actions: u8
§changed: MapPart
§min_key_code: u8
§max_key_code: u8
§first_type: u8
§n_types: u8
§first_key_sym: u8
§n_key_syms: u8
§first_key_act: u8
§n_key_acts: u8
§first_key_behavior: u8
§n_key_behavior: u8
§first_key_explicit: u8
§n_key_explicit: u8
§first_mod_map_key: u8
§n_mod_map_keys: u8
§first_v_mod_map_key: u8
§n_v_mod_map_keys: u8
§virtual_mods: VMod
Trait Implementations§
§impl Clone for MapNotifyEvent
impl Clone for MapNotifyEvent
§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 more§impl Debug for MapNotifyEvent
impl Debug for MapNotifyEvent
§impl Default for MapNotifyEvent
impl Default for MapNotifyEvent
§fn default() -> MapNotifyEvent
fn default() -> MapNotifyEvent
Returns the “default value” for a type. Read more
§impl Serialize for MapNotifyEvent
impl Serialize for MapNotifyEvent
§impl TryParse for MapNotifyEvent
impl TryParse for MapNotifyEvent
§fn try_parse(
initial_value: &[u8],
) -> Result<(MapNotifyEvent, &[u8]), ParseError>
fn try_parse( initial_value: &[u8], ) -> Result<(MapNotifyEvent, &[u8]), ParseError>
Try to parse the given values into an instance of this type. Read more
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> TryParseFd for Twhere
T: TryParse,
impl<T> TryParseFd for Twhere
T: TryParse,
§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