Enum gdk4::AxisUse [−][src]
#[non_exhaustive]
pub enum AxisUse {
Show 13 variants
Ignore,
X,
Y,
DeltaX,
DeltaY,
Pressure,
Xtilt,
Ytilt,
Wheel,
Distance,
Rotation,
Slider,
Last,
// some variants omitted
}
Expand description
Defines how device axes are interpreted by GTK.
Note that the X and Y axes are not really needed; pointer devices report their location via the x/y members of events regardless. Whether X and Y are present as axes depends on the GDK backend.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
the axis is ignored.
the axis is used as the x axis.
the axis is used as the y axis.
the axis is used as the scroll x delta
the axis is used as the scroll y delta
the axis is used for pressure information.
the axis is used for x tilt information.
the axis is used for y tilt information.
the axis is used for wheel information.
the axis is used for pen/tablet distance information
the axis is used for pen rotation information
the axis is used for pen slider information
a constant equal to the numerically highest axis value.
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
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
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for AxisUse
impl UnwindSafe for AxisUse
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.