pub trait SwipeableImpl: WidgetImpl {
    // Provided methods
    fn cancel_progress(&self) -> f64 { ... }
    fn distance(&self) -> f64 { ... }
    fn progress(&self) -> f64 { ... }
    fn snap_points(&self) -> &[f64] { ... }
    fn swipe_area(
        &self,
        navigation_direction: NavigationDirection,
        is_drag: bool
    ) -> Rectangle { ... }
}

Provided Methods§

source

fn cancel_progress(&self) -> f64

source

fn distance(&self) -> f64

source

fn progress(&self) -> f64

source

fn snap_points(&self) -> &[f64]

source

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

Implementors§