Struct libadwaita_sys::AdwSwipeableInterface
source · #[repr(C)]pub struct AdwSwipeableInterface {
pub parent: GTypeInterface,
pub get_distance: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>,
pub get_snap_points: Option<unsafe extern "C" fn(_: *mut AdwSwipeable, _: *mut c_int) -> *mut c_double>,
pub get_progress: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>,
pub get_cancel_progress: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>,
pub get_swipe_area: Option<unsafe extern "C" fn(_: *mut AdwSwipeable, _: AdwNavigationDirection, _: gboolean, _: *mut GdkRectangle)>,
pub padding: [gpointer; 4],
}
Fields§
§parent: GTypeInterface
§get_distance: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>
§get_snap_points: Option<unsafe extern "C" fn(_: *mut AdwSwipeable, _: *mut c_int) -> *mut c_double>
§get_progress: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>
§get_cancel_progress: Option<unsafe extern "C" fn(_: *mut AdwSwipeable) -> c_double>
§get_swipe_area: Option<unsafe extern "C" fn(_: *mut AdwSwipeable, _: AdwNavigationDirection, _: gboolean, _: *mut GdkRectangle)>
§padding: [gpointer; 4]
Trait Implementations§
source§impl Clone for AdwSwipeableInterface
impl Clone for AdwSwipeableInterface
source§fn clone(&self) -> AdwSwipeableInterface
fn clone(&self) -> AdwSwipeableInterface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more