pub enum Phase {
Down(IntPoint, IntSize),
Moved(IntPoint, IntSize),
Up,
Remove,
Cancel,
}
Expand description
Phase of a touch event.
Variants§
Down(IntPoint, IntSize)
A contact began.
Moved(IntPoint, IntSize)
A contact moved.
Up
A contact ended.
Remove
A contact was removed.
Cancel
A contact was cancelled.
Trait Implementations§
source§impl PartialEq for Phase
impl PartialEq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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