pub struct TabletPadKeyEvent { /* private fields */ }
Expand description
A key pressed on a device with the DeviceCapability::TabletPad
capability.
Implementations§
Trait Implementations§
Source§impl AsRaw<libinput_event_tablet_pad> for TabletPadKeyEvent
impl AsRaw<libinput_event_tablet_pad> for TabletPadKeyEvent
Source§fn as_raw(&self) -> *const libinput_event_tablet_pad
fn as_raw(&self) -> *const libinput_event_tablet_pad
Receive a raw pointer representing this type.
Source§impl Context for TabletPadKeyEvent
impl Context for TabletPadKeyEvent
Source§impl Debug for TabletPadKeyEvent
impl Debug for TabletPadKeyEvent
Source§impl Drop for TabletPadKeyEvent
impl Drop for TabletPadKeyEvent
Source§impl EventTrait for TabletPadKeyEvent
impl EventTrait for TabletPadKeyEvent
Source§impl Hash for TabletPadKeyEvent
impl Hash for TabletPadKeyEvent
Source§impl PartialEq for TabletPadKeyEvent
impl PartialEq for TabletPadKeyEvent
impl Eq for TabletPadKeyEvent
Auto Trait Implementations§
impl Freeze for TabletPadKeyEvent
impl !RefUnwindSafe for TabletPadKeyEvent
impl !Send for TabletPadKeyEvent
impl !Sync for TabletPadKeyEvent
impl Unpin for TabletPadKeyEvent
impl !UnwindSafe for TabletPadKeyEvent
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> TabletPadEventTrait for T
impl<T> TabletPadEventTrait for T
Source§fn mode(&self) -> u32
fn mode(&self) -> u32
Returns the mode the button, ring, or strip that triggered this event is in, at the time of the event. Read more
Source§fn mode_group(&self) -> TabletPadModeGroup
fn mode_group(&self) -> TabletPadModeGroup
Returns the mode group that the button, ring, or strip that triggered this
event is considered in. Read more
Source§fn into_tablet_pad_event(self) -> TabletPadEventwhere
Self: Sized,
fn into_tablet_pad_event(self) -> TabletPadEventwhere
Self: Sized,
Convert into a general
TabletPadEvent
again