pub enum SwipeDirection {
Left,
Right,
Up,
Down,
}Expand description
Specifies the direction of a swipe gesture.
Variants§
Left
The swipe moved to the left.
Right
The swipe moved to the right.
Up
The swipe moved upward.
Down
The swipe moved downward.
Trait Implementations§
Source§impl Clone for SwipeDirection
impl Clone for SwipeDirection
impl Copy for SwipeDirection
Source§impl Debug for SwipeDirection
impl Debug for SwipeDirection
impl Eq for SwipeDirection
Source§impl Hash for SwipeDirection
impl Hash for SwipeDirection
Source§impl MarkupTyped for SwipeDirection
impl MarkupTyped for SwipeDirection
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for SwipeDirection
impl PartialEq for SwipeDirection
impl StructuralPartialEq for SwipeDirection
Auto Trait Implementations§
impl Freeze for SwipeDirection
impl RefUnwindSafe for SwipeDirection
impl Send for SwipeDirection
impl Sync for SwipeDirection
impl Unpin for SwipeDirection
impl UnsafeUnpin for SwipeDirection
impl UnwindSafe for SwipeDirection
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more