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 moresource§impl Debug for AdwSwipeableInterface
impl Debug for AdwSwipeableInterface
impl Copy for AdwSwipeableInterface
Auto Trait Implementations§
impl RefUnwindSafe for AdwSwipeableInterface
impl !Send for AdwSwipeableInterface
impl !Sync for AdwSwipeableInterface
impl Unpin for AdwSwipeableInterface
impl UnwindSafe for AdwSwipeableInterface
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