Struct libbismuth_sys::BisSwipeableInterface
source · #[repr(C)]pub struct BisSwipeableInterface {
pub parent: GTypeInterface,
pub get_distance: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>,
pub get_snap_points: Option<unsafe extern "C" fn(_: *mut BisSwipeable, _: *mut c_int) -> *mut c_double>,
pub get_progress: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>,
pub get_cancel_progress: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>,
pub get_swipe_area: Option<unsafe extern "C" fn(_: *mut BisSwipeable, _: BisNavigationDirection, _: gboolean, _: *mut GdkRectangle)>,
pub padding: [gpointer; 4],
}
Fields§
§parent: GTypeInterface
§get_distance: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>
§get_snap_points: Option<unsafe extern "C" fn(_: *mut BisSwipeable, _: *mut c_int) -> *mut c_double>
§get_progress: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>
§get_cancel_progress: Option<unsafe extern "C" fn(_: *mut BisSwipeable) -> c_double>
§get_swipe_area: Option<unsafe extern "C" fn(_: *mut BisSwipeable, _: BisNavigationDirection, _: gboolean, _: *mut GdkRectangle)>
§padding: [gpointer; 4]
Trait Implementations§
source§impl Clone for BisSwipeableInterface
impl Clone for BisSwipeableInterface
source§fn clone(&self) -> BisSwipeableInterface
fn clone(&self) -> BisSwipeableInterface
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 BisSwipeableInterface
impl Debug for BisSwipeableInterface
impl Copy for BisSwipeableInterface
Auto Trait Implementations§
impl Freeze for BisSwipeableInterface
impl RefUnwindSafe for BisSwipeableInterface
impl !Send for BisSwipeableInterface
impl !Sync for BisSwipeableInterface
impl Unpin for BisSwipeableInterface
impl UnwindSafe for BisSwipeableInterface
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