[][src]Struct libhandy_sys::HdySwipeableInterface

#[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: GTypeInterfaceswitch_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

impl Clone for HdySwipeableInterface[src]

impl Copy for HdySwipeableInterface[src]

impl Debug for HdySwipeableInterface[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.