Struct gdk::EventProximity [−][src]
pub struct EventProximity(_);
Expand description
Proximity events are generated when using GDK’s wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user’s finger has moved in or out of contact with a touch screen.
This event type will be used pretty rarely. It only is important for XInput aware programs that are drawing their own cursor.
Implementations
Methods from Deref<Target = Event>
v3_20
only.v3_20
only.v3_22
only.v3_22
only.v3_22
only.v3_22
only.Returns the event type.
Returns whether the event was sent explicitly.
Tries to downcast to a specific event type.
Tries to downcast to a specific event type.
Trait Implementations
Performs the conversion.
Performs the conversion.
Safety Read more
Safety Read more
Safety Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Transfer: none. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventProximity
impl !Send for EventProximity
impl !Sync for EventProximity
impl Unpin for EventProximity
impl UnwindSafe for EventProximity
Blanket Implementations
Mutably borrows from an owned value. Read more