pub trait SwipeableImplExt: ObjectSubclass {
    // Required methods
    fn parent_cancel_progress(&self, swipeable: &Self::Type) -> f64;
    fn parent_distance(&self, swipeable: &Self::Type) -> f64;
    fn parent_progress(&self, swipeable: &Self::Type) -> f64;
    fn parent_snap_points(&self, swipeable: &Self::Type) -> &[f64];
    fn parent_swipe_area(
        &self,
        swipeable: &Self::Type,
        navigation_direction: NavigationDirection,
        is_drag: bool
    ) -> Rectangle;
}

Required Methods§

source

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

source

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

source

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

source

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

source

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

Implementors§