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
sourceimpl Clone for AdwSwipeableInterface
impl Clone for AdwSwipeableInterface
sourcefn clone(&self) -> AdwSwipeableInterface
fn clone(&self) -> AdwSwipeableInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more