Skip to main content

ferroui_base/input/
swipe_direction.rs

1/// Specifies the direction of a swipe gesture.
2#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
3pub enum SwipeDirection {
4    /// The swipe moved to the left.
5    Left,
6    /// The swipe moved to the right.
7    Right,
8    /// The swipe moved upward.
9    Up,
10    /// The swipe moved downward.
11    Down,
12}