Struct xcb::xkb::StateNotifyEvent
source · pub struct StateNotifyEvent { /* private fields */ }
Expand description
The StateNotifyEvent
event.
Implementations§
source§impl StateNotifyEvent
impl StateNotifyEvent
pub fn new( event_base: u8, xkb_type: u8, 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, ) -> StateNotifyEvent
pub fn response_type(&self) -> u8
pub fn xkb_type(&self) -> u8
pub fn sequence(&self) -> u16
pub fn time(&self) -> Timestamp
pub fn device_id(&self) -> u8
pub fn mods(&self) -> ModMask
pub fn base_mods(&self) -> ModMask
pub fn latched_mods(&self) -> ModMask
pub fn locked_mods(&self) -> ModMask
pub fn group(&self) -> Group
pub fn base_group(&self) -> i16
pub fn latched_group(&self) -> i16
pub fn locked_group(&self) -> Group
pub fn compat_state(&self) -> ModMask
pub fn grab_mods(&self) -> ModMask
pub fn compat_grab_mods(&self) -> ModMask
pub fn lookup_mods(&self) -> ModMask
pub fn compat_loockup_mods(&self) -> ModMask
pub fn ptr_btn_state(&self) -> KeyButMask
pub fn changed(&self) -> StatePart
pub fn keycode(&self) -> Keycode
pub fn event_type(&self) -> u8
pub fn request_major(&self) -> u8
pub fn request_minor(&self) -> u8
Trait Implementations§
source§impl BaseEvent for StateNotifyEvent
impl BaseEvent for StateNotifyEvent
source§impl Debug for StateNotifyEvent
impl Debug for StateNotifyEvent
source§impl Drop for StateNotifyEvent
impl Drop for StateNotifyEvent
source§impl Raw<xcb_generic_event_t> for StateNotifyEvent
impl Raw<xcb_generic_event_t> for StateNotifyEvent
impl Send for StateNotifyEvent
impl Sync for StateNotifyEvent
Auto Trait Implementations§
impl Freeze for StateNotifyEvent
impl RefUnwindSafe 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