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§
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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.