pub enum GestureIntent {
None = 0,
Pan = 1,
Pinch = 2,
PanAndPinch = 3,
}Variants§
Implementations§
Source§impl GestureIntent
impl GestureIntent
pub fn from_callbacks(has_pan: bool, has_pinch: bool) -> Self
Trait Implementations§
Source§impl Clone for GestureIntent
impl Clone for GestureIntent
Source§fn clone(&self) -> GestureIntent
fn clone(&self) -> GestureIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GestureIntent
Source§impl Debug for GestureIntent
impl Debug for GestureIntent
impl Eq for GestureIntent
Source§impl PartialEq for GestureIntent
impl PartialEq for GestureIntent
impl StructuralPartialEq for GestureIntent
Auto Trait Implementations§
impl Freeze for GestureIntent
impl RefUnwindSafe for GestureIntent
impl Send for GestureIntent
impl Sync for GestureIntent
impl Unpin for GestureIntent
impl UnsafeUnpin for GestureIntent
impl UnwindSafe for GestureIntent
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