pub trait SwipeableExt: 'static {
    // Required methods
    fn cancel_progress(&self) -> f64;
    fn distance(&self) -> f64;
    fn progress(&self) -> f64;
    fn snap_points(&self) -> Vec<f64>;
    fn swipe_area(
        &self,
        navigation_direction: NavigationDirection,
        is_drag: bool
    ) -> Rectangle;
}

Required Methods§

source

fn cancel_progress(&self) -> f64

source

fn distance(&self) -> f64

source

fn progress(&self) -> f64

source

fn snap_points(&self) -> Vec<f64>

source

fn swipe_area( &self, navigation_direction: NavigationDirection, is_drag: bool ) -> Rectangle

Implementors§