Struct input::event::tablet_tool::TabletToolAxisEvent
[−]
[src]
pub struct TabletToolAxisEvent { /* fields omitted */ }One or more axes have changed state on a device with the
DeviceCapability::TabletTool capability.
This event is only sent when the tool is in proximity, see
TabletToolProximityEvent for details.
The proximity event contains the initial state of the axis as the tool comes into
proximity. An event of type TabletToolAxisEvent is only sent when an axis value
changes from this initial state. It is possible for a tool to enter and leave
proximity without sending an event of type TabletToolAxisEvent.
An event of type TabletToolAxisEvent is sent when the tip state does not
change. See the documentation for TabletToolTipEvent for more details.
Trait Implementations
impl Eq for TabletToolAxisEvent[src]
impl Debug for TabletToolAxisEvent[src]
impl FromRaw<libinput_event_tablet_tool> for TabletToolAxisEvent[src]
unsafe fn from_raw(ffi: *mut libinput_event_tablet_tool) -> Self
Create a new instance of this type from a raw pointer. Read more
impl AsRaw<libinput_event_tablet_tool> for TabletToolAxisEvent[src]
fn as_raw(&self) -> *const libinput_event_tablet_tool
Receive a raw pointer representing this type.
impl PartialEq for TabletToolAxisEvent[src]
fn eq(&self, other: &Self) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Hash for TabletToolAxisEvent[src]
fn hash<H: Hasher>(&self, state: &mut H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl EventTrait for TabletToolAxisEvent[src]
fn into_event(self) -> Event where Self: Sized
Convert into a general Event again
fn context(&self) -> Libinput
Get the libinput context from the event.
fn device(&self) -> Device
Return the device associated with this event. Read more