pub enum Fingers {
One,
Several,
}Expand description
How many pointers the gesture in flight has.
One behaves as a mouse does; two pan and pinch the canvas together. A gesture that ever had a second finger belongs to the camera until the last one lifts, so the trailing finger never arrives as a drag.
Variants§
Trait Implementations§
impl Copy for Fingers
impl Eq for Fingers
impl StructuralPartialEq for Fingers
Auto Trait Implementations§
impl Freeze for Fingers
impl RefUnwindSafe for Fingers
impl Send for Fingers
impl Sync for Fingers
impl Unpin for Fingers
impl UnsafeUnpin for Fingers
impl UnwindSafe for Fingers
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.