Enum input::event::tablet_pad::TabletPadEvent
[−]
[src]
pub enum TabletPadEvent { Button(TabletPadButtonEvent), Ring(TabletPadRingEvent), Strip(TabletPadStripEvent), }
A tablet-pad related Event
Variants
Button(TabletPadButtonEvent)
A button pressed on a device with the DeviceCapability::TabletPad
capability.
This event is not to be confused with the button events emitted by tools
on a tablet. See TabletToolButtonEvent
.
Ring(TabletPadRingEvent)
A status change on a tablet ring with the DeviceCapability::TabletPad
capability.
Strip(TabletPadStripEvent)
A status change on a strip on a device with the
DeviceCapability::TabletPad
capability.
Trait Implementations
impl Debug for TabletPadEvent
[src]
impl PartialEq for TabletPadEvent
[src]
fn eq(&self, __arg_0: &TabletPadEvent) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TabletPadEvent) -> bool
[src]
This method tests for !=
.
impl Eq for TabletPadEvent
[src]
impl Hash for TabletPadEvent
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl EventTrait for TabletPadEvent
[src]
fn into_event(self) -> Event where
Self: Sized,
[src]
Self: Sized,
Convert into a general Event
again
fn context(&self) -> Libinput
[src]
Get the libinput context from the event.
fn device(&self) -> Device
[src]
Return the device associated with this event. Read more
impl FromRaw<libinput_event_tablet_pad> for TabletPadEvent
[src]
unsafe fn from_raw(event: *mut libinput_event_tablet_pad) -> Self
[src]
Create a new instance of this type from a raw pointer. Read more
impl AsRaw<libinput_event_tablet_pad> for TabletPadEvent
[src]
fn as_raw(&self) -> *const libinput_event_tablet_pad
[src]
Receive a raw pointer representing this type.