#[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 Freeze for AdwSwipeableInterface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)