Trait libadwaita::subclass::swipeable::SwipeableImpl

source ·
pub trait SwipeableImpl: WidgetImpl {
    // Provided 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 { ... }
}

Provided 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

Object Safety§

This trait is not object safe.

Implementors§