Struct input::event::pointer::PointerMotionAbsoluteEvent [] [src]

pub struct PointerMotionAbsoluteEvent { /* fields omitted */ }

An event related to absolute pointer movement

Methods

impl PointerMotionAbsoluteEvent
[src]

Return the current absolute x coordinate of the pointer event, in mm from the top left corner of the device.

To get the corresponding output screen coordinate, use absolute_x_transformed.

Return the current absolute y coordinate of the pointer event, in mm from the top left corner of the device.

To get the corresponding output screen coordinate, use absolute_y_transformed.

Return the current absolute x coordinate of the pointer event, transformed to screen coordinates.

Arguments

  • width - The current output screen width

Return the current absolute y coordinate of the pointer event, transformed to screen coordinates.

Arguments

  • height - The current output screen height

Trait Implementations

impl Eq for PointerMotionAbsoluteEvent
[src]

impl Debug for PointerMotionAbsoluteEvent
[src]

Formats the value using the given formatter.

impl FromRaw<libinput_event_pointer> for PointerMotionAbsoluteEvent
[src]

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

impl AsRaw<libinput_event_pointer> for PointerMotionAbsoluteEvent
[src]

Receive a raw pointer representing this type.

impl PartialEq for PointerMotionAbsoluteEvent
[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 PointerMotionAbsoluteEvent
[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 PointerMotionAbsoluteEvent
[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 PointerMotionAbsoluteEvent
[src]

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