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]

Formats the value using the given formatter.

impl FromRaw<libinput_event_tablet_tool> for TabletToolAxisEvent
[src]

Create a new instance of this type from a raw pointer. Read more

impl AsRaw<libinput_event_tablet_tool> for TabletToolAxisEvent
[src]

Receive a raw pointer representing this type.

impl PartialEq for TabletToolAxisEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for TabletToolAxisEvent
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl EventTrait for TabletToolAxisEvent
[src]

Convert into a general Event again

Get the libinput context from the event.

Return the device associated with this event. Read more

impl Drop for TabletToolAxisEvent
[src]

A method called when the value goes out of scope. Read more