Enum android_activity::input::Axis
source · #[repr(u32)]pub enum Axis {
Show 45 variants
X,
Y,
Pressure,
Size,
TouchMajor,
TouchMinor,
ToolMajor,
ToolMinor,
Orientation,
Vscroll,
Hscroll,
Z,
Rx,
Ry,
Rz,
HatX,
HatY,
Ltrigger,
Rtrigger,
Throttle,
Rudder,
Wheel,
Gas,
Brake,
Distance,
Tilt,
Scroll,
RelativeX,
RelativeY,
Generic1,
Generic2,
Generic3,
Generic4,
Generic5,
Generic6,
Generic7,
Generic8,
Generic9,
Generic10,
Generic11,
Generic12,
Generic13,
Generic14,
Generic15,
Generic16,
}
Expand description
An axis of a motion event.
See the NDK docs
Variants§
X
Y
Pressure
Size
TouchMajor
TouchMinor
ToolMajor
ToolMinor
Orientation
Vscroll
Hscroll
Z
Rx
Ry
Rz
HatX
HatY
Ltrigger
Rtrigger
Throttle
Rudder
Wheel
Gas
Brake
Distance
Tilt
Scroll
RelativeX
RelativeY
Generic1
Generic2
Generic3
Generic4
Generic5
Generic6
Generic7
Generic8
Generic9
Generic10
Generic11
Generic12
Generic13
Generic14
Generic15
Generic16
Trait Implementations§
source§impl PartialEq<Axis> for Axis
impl PartialEq<Axis> for Axis
source§impl TryFromPrimitive for Axis
impl TryFromPrimitive for Axis
impl Copy for Axis
impl Eq for Axis
impl StructuralEq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnwindSafe for Axis
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more