Struct xcb::xkb::NewKeyboardNotifyEvent
source · [−]pub struct NewKeyboardNotifyEvent { /* private fields */ }
Expand description
The NewKeyboardNotifyEvent
event.
Implementations
sourceimpl NewKeyboardNotifyEvent
impl NewKeyboardNotifyEvent
pub fn new(
event_base: u8,
xkb_type: u8,
time: Timestamp,
device_id: u8,
old_device_id: u8,
min_key_code: Keycode,
max_key_code: Keycode,
old_min_key_code: Keycode,
old_max_key_code: Keycode,
request_major: u8,
request_minor: u8,
changed: NknDetail
) -> NewKeyboardNotifyEvent
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 old_device_id(&self) -> u8
pub fn min_key_code(&self) -> Keycode
pub fn max_key_code(&self) -> Keycode
pub fn old_min_key_code(&self) -> Keycode
pub fn old_max_key_code(&self) -> Keycode
pub fn request_major(&self) -> u8
pub fn request_minor(&self) -> u8
pub fn changed(&self) -> NknDetail
Trait Implementations
sourceimpl BaseEvent for NewKeyboardNotifyEvent
impl BaseEvent for NewKeyboardNotifyEvent
sourceimpl Debug for NewKeyboardNotifyEvent
impl Debug for NewKeyboardNotifyEvent
sourceimpl Drop for NewKeyboardNotifyEvent
impl Drop for NewKeyboardNotifyEvent
impl Send for NewKeyboardNotifyEvent
impl Sync for NewKeyboardNotifyEvent
Auto Trait Implementations
impl RefUnwindSafe for NewKeyboardNotifyEvent
impl Unpin for NewKeyboardNotifyEvent
impl UnwindSafe for NewKeyboardNotifyEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more