Enum input::event::pointer::PointerEvent [] [src]

pub enum PointerEvent {
    Motion(PointerMotionEvent),
    MotionAbsolute(PointerMotionAbsoluteEvent),
    Button(PointerButtonEvent),
    Axis(PointerAxisEvent),
}

A pointer related Event

Variants

An event related to moving a pointer

An event related to absolute pointer movement

An event related to button pressed on a pointer device

An event related to moving axis on a pointer device

Trait Implementations

impl Debug for PointerEvent
[src]

Formats the value using the given formatter.

impl PartialEq for PointerEvent
[src]

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

This method tests for !=.

impl Eq for PointerEvent
[src]

impl Hash for PointerEvent
[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 PointerEvent
[src]

Convert into a general Event again

Get the libinput context from the event.

Return the device associated with this event. Read more

impl FromRaw<libinput_event_pointer> for PointerEvent
[src]

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

impl AsRaw<libinput_event_pointer> for PointerEvent
[src]

Receive a raw pointer representing this type.