pub enum Event {
FingerPressed {
id: Finger,
position: Point,
},
FingerMoved {
id: Finger,
position: Point,
},
FingerLifted {
id: Finger,
position: Point,
},
FingerLost {
id: Finger,
position: Point,
},
}
Expand description
A touch interaction.
Variants§
FingerPressed
A touch interaction was started.
FingerMoved
An on-going touch interaction was moved.
FingerLifted
A touch interaction was ended.
FingerLost
A touch interaction was canceled.
Trait Implementations§
impl Copy for Event
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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