pub enum TouchPhase {
Began,
Moved,
Stationary,
Ended,
Cancelled,
}Expand description
Where one contact of a multi-touch sequence is (Touch::phase).
Variants§
Began
The contact went down.
Moved
The contact moved.
Stationary
The contact is down and did not move in this event.
Ended
The contact lifted.
Cancelled
The platform took the contact away (a system gesture, an enclosing scroll view).
Trait Implementations§
Source§impl Clone for TouchPhase
impl Clone for TouchPhase
impl Copy for TouchPhase
Source§impl Debug for TouchPhase
impl Debug for TouchPhase
impl Eq for TouchPhase
Source§impl Hash for TouchPhase
impl Hash for TouchPhase
Source§impl PartialEq for TouchPhase
impl PartialEq for TouchPhase
impl StructuralPartialEq for TouchPhase
Auto Trait Implementations§
impl Forget for TouchPhase
impl Freeze for TouchPhase
impl Move for TouchPhase
impl RefUnwindSafe for TouchPhase
impl Send for TouchPhase
impl Sync for TouchPhase
impl Unpin for TouchPhase
impl UnsafeUnpin for TouchPhase
impl UnwindSafe for TouchPhase
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