Enum ndk::event::MotionAction [−][src]
#[repr(u32)]
pub enum MotionAction {
Show 13 variants
Down,
Up,
Move,
Cancel,
Outside,
PointerDown,
PointerUp,
HoverMove,
Scroll,
HoverEnter,
HoverExit,
ButtonPress,
ButtonRelease,
}
Expand description
A motion action.
See the NDK docs
Variants
Down
Up
Move
Cancel
Outside
PointerDown
PointerUp
HoverMove
Scroll
HoverEnter
HoverExit
ButtonPress
ButtonRelease
Trait Implementations
Performs the conversion.
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MotionAction
impl Send for MotionAction
impl Sync for MotionAction
impl Unpin for MotionAction
impl UnwindSafe for MotionAction
Blanket Implementations
Mutably borrows from an owned value. Read more