Struct xcb::xinput::DeviceKeyPressEvent
source · pub struct DeviceKeyPressEvent { /* private fields */ }
Expand description
The DeviceKeyPressEvent
event.
Implementations§
source§impl DeviceKeyPressEvent
impl DeviceKeyPressEvent
pub fn new( event_base: u8, detail: u8, time: Timestamp, root: Window, event: Window, child: Window, root_x: i16, root_y: i16, event_x: i16, event_y: i16, state: KeyButMask, same_screen: bool, device_id: u8, ) -> DeviceKeyPressEvent
pub fn response_type(&self) -> u8
pub fn detail(&self) -> u8
pub fn sequence(&self) -> u16
pub fn time(&self) -> Timestamp
pub fn root(&self) -> Window
pub fn event(&self) -> Window
pub fn child(&self) -> Window
pub fn root_x(&self) -> i16
pub fn root_y(&self) -> i16
pub fn event_x(&self) -> i16
pub fn event_y(&self) -> i16
pub fn state(&self) -> KeyButMask
pub fn same_screen(&self) -> bool
pub fn device_id(&self) -> u8
Trait Implementations§
source§impl BaseEvent for DeviceKeyPressEvent
impl BaseEvent for DeviceKeyPressEvent
source§impl Debug for DeviceKeyPressEvent
impl Debug for DeviceKeyPressEvent
source§impl Drop for DeviceKeyPressEvent
impl Drop for DeviceKeyPressEvent
source§impl Raw<xcb_generic_event_t> for DeviceKeyPressEvent
impl Raw<xcb_generic_event_t> for DeviceKeyPressEvent
impl Send for DeviceKeyPressEvent
impl Sync for DeviceKeyPressEvent
Auto Trait Implementations§
impl Freeze for DeviceKeyPressEvent
impl RefUnwindSafe for DeviceKeyPressEvent
impl Unpin for DeviceKeyPressEvent
impl UnwindSafe for DeviceKeyPressEvent
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