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

Provided Methods§

source

fn cancel_progress(&self, swipeable: &Self::Type) -> f64

source

fn distance(&self, swipeable: &Self::Type) -> f64

source

fn progress(&self, swipeable: &Self::Type) -> f64

source

fn snap_points(&self, swipeable: &Self::Type) -> &[f64]

source

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

Implementors§