Struct xcb::xinput::DeviceKeyPressEvent
source · [−]pub struct DeviceKeyPressEvent { /* private fields */ }
Expand description
The DeviceKeyPressEvent
event.
Implementations
sourceimpl 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
sourceimpl BaseEvent for DeviceKeyPressEvent
impl BaseEvent for DeviceKeyPressEvent
sourceimpl Debug for DeviceKeyPressEvent
impl Debug for DeviceKeyPressEvent
sourceimpl Drop for DeviceKeyPressEvent
impl Drop for DeviceKeyPressEvent
sourceimpl 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 RefUnwindSafe for DeviceKeyPressEvent
impl Unpin for DeviceKeyPressEvent
impl UnwindSafe for DeviceKeyPressEvent
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