pub enum SwipeDirection {
Left,
Right,
Up,
Down,
}Expand description
Direction of a swipe gesture.
Variants§
Trait Implementations§
Source§impl Clone for SwipeDirection
impl Clone for SwipeDirection
Source§fn clone(&self) -> SwipeDirection
fn clone(&self) -> SwipeDirection
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 SwipeDirection
Source§impl Debug for SwipeDirection
impl Debug for SwipeDirection
impl Eq for SwipeDirection
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> 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