[][src]Struct qt_core::NativeGestureType

#[repr(transparent)]
pub struct NativeGestureType(_);

This enum returns the gesture type.

C++ enum: Qt::NativeGestureType.

C++ documentation:

This enum returns the gesture type.

This enum was introduced or modified in Qt 5.2.

Methods

impl NativeGestureType[src]

pub fn to_int(&self) -> c_int[src]

impl NativeGestureType[src]

pub const BeginNativeGesture: NativeGestureType[src]

Sent before gesture event stream. (C++ enum variant: BeginNativeGesture = 0)

pub const EndNativeGesture: NativeGestureType[src]

Sent after gesture event stream. (C++ enum variant: EndNativeGesture = 1)

pub const PanNativeGesture: NativeGestureType[src]

Sent after a panning gesture. Similar to a click-and-drag mouse movement. (C++ enum variant: PanNativeGesture = 2)

pub const ZoomNativeGesture: NativeGestureType[src]

Specifies the magnification delta in percent. (C++ enum variant: ZoomNativeGesture = 3)

pub const SmartZoomNativeGesture: NativeGestureType[src]

Boolean magnification state. (C++ enum variant: SmartZoomNativeGesture = 4)

pub const RotateNativeGesture: NativeGestureType[src]

Rotation delta in degrees. (C++ enum variant: RotateNativeGesture = 5)

pub const SwipeNativeGesture: NativeGestureType[src]

Sent after a swipe movements. (C++ enum variant: SwipeNativeGesture = 6)

Trait Implementations

impl From<i32> for NativeGestureType[src]

impl From<NativeGestureType> for c_int[src]

impl Clone for NativeGestureType[src]

impl Copy for NativeGestureType[src]

impl Eq for NativeGestureType[src]

impl PartialEq<NativeGestureType> for NativeGestureType[src]

impl Debug for NativeGestureType[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]