Struct libhandy_sys::HdySwipeableInterface
source · #[repr(C)]pub struct HdySwipeableInterface {
pub parent: GTypeInterface,
pub switch_child: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: c_uint, _: i64)>,
pub get_swipe_tracker: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> *mut HdySwipeTracker>,
pub get_distance: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>,
pub get_snap_points: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: *mut c_int) -> *mut c_double>,
pub get_progress: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>,
pub get_cancel_progress: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>,
pub get_swipe_area: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: HdyNavigationDirection, _: gboolean, _: *mut GdkRectangle)>,
pub padding: [gpointer; 4],
}
Fields§
§parent: GTypeInterface
§switch_child: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: c_uint, _: i64)>
§get_swipe_tracker: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> *mut HdySwipeTracker>
§get_distance: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>
§get_snap_points: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: *mut c_int) -> *mut c_double>
§get_progress: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>
§get_cancel_progress: Option<unsafe extern "C" fn(_: *mut HdySwipeable) -> c_double>
§get_swipe_area: Option<unsafe extern "C" fn(_: *mut HdySwipeable, _: HdyNavigationDirection, _: gboolean, _: *mut GdkRectangle)>
§padding: [gpointer; 4]
Trait Implementations§
source§impl Clone for HdySwipeableInterface
impl Clone for HdySwipeableInterface
source§fn clone(&self) -> HdySwipeableInterface
fn clone(&self) -> HdySwipeableInterface
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 moresource§impl Debug for HdySwipeableInterface
impl Debug for HdySwipeableInterface
impl Copy for HdySwipeableInterface
Auto Trait Implementations§
impl RefUnwindSafe for HdySwipeableInterface
impl !Send for HdySwipeableInterface
impl !Sync for HdySwipeableInterface
impl Unpin for HdySwipeableInterface
impl UnwindSafe for HdySwipeableInterface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more