pub trait GestureDragExt: 'static {
// Required methods
fn get_offset(&self) -> Option<(f64, f64)>;
fn get_start_point(&self) -> Option<(f64, f64)>;
fn connect_drag_begin<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_drag_end<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_drag_update<F: Fn(&Self, f64, f64) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_offset(&self) -> Option<(f64, f64)>
fn get_start_point(&self) -> Option<(f64, f64)>
fn connect_drag_begin<F: Fn(&Self, f64, f64) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_drag_end<F: Fn(&Self, f64, f64) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_drag_update<F: Fn(&Self, f64, f64) + 'static>( &self, f: F, ) -> SignalHandlerId
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.