Enum me3_framework::overlay::TouchPhase
source · [−]pub enum TouchPhase {
Start,
Move,
End,
Cancel,
}
Expand description
In what phase a touch event is in.
Variants
Start
User just placed a touch point on the touch surface
Move
User moves a touch point along the surface. This event is also sent when any attributes (position, force, …) of the touch point change.
End
User lifted the finger or pen from the surface, or slid off the edge of the surface
Cancel
Touch operation has been disrupted by something (various reasons are possible, maybe a pop-up alert or any other kind of interruption which may not have been intended by the user)
Trait Implementations
sourceimpl Clone for TouchPhase
impl Clone for TouchPhase
sourcefn clone(&self) -> TouchPhase
fn clone(&self) -> TouchPhase
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TouchPhase
impl Debug for TouchPhase
sourceimpl PartialEq<TouchPhase> for TouchPhase
impl PartialEq<TouchPhase> for TouchPhase
sourcefn eq(&self, other: &TouchPhase) -> bool
fn eq(&self, other: &TouchPhase) -> bool
impl Copy for TouchPhase
impl Eq for TouchPhase
impl StructuralEq for TouchPhase
impl StructuralPartialEq for TouchPhase
Auto Trait Implementations
impl RefUnwindSafe for TouchPhase
impl Send for TouchPhase
impl Sync for TouchPhase
impl Unpin for TouchPhase
impl UnwindSafe for TouchPhase
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more