[][src]Struct qt_core::GestureState

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

This enum type describes the state of a gesture.

C++ enum: Qt::GestureState.

C++ documentation:

This enum type describes the state of a gesture.

This enum was introduced or modified in Qt 4.6.

See also QGesture.

Methods

impl GestureState[src]

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

impl GestureState[src]

pub const NoGesture: GestureState[src]

No gesture has been detected. (C++ enum variant: NoGesture = 0)

pub const GestureStarted: GestureState[src]

A continuous gesture has started. (C++ enum variant: GestureStarted = 1)

pub const GestureUpdated: GestureState[src]

A gesture continues. (C++ enum variant: GestureUpdated = 2)

pub const GestureFinished: GestureState[src]

A gesture has finished. (C++ enum variant: GestureFinished = 3)

pub const GestureCanceled: GestureState[src]

A gesture was canceled. (C++ enum variant: GestureCanceled = 4)

Trait Implementations

impl Clone for GestureState[src]

impl Copy for GestureState[src]

impl Debug for GestureState[src]

impl Eq for GestureState[src]

impl From<GestureState> for c_int[src]

impl From<i32> for GestureState[src]

impl PartialEq<GestureState> for GestureState[src]

impl StructuralEq for GestureState[src]

impl StructuralPartialEq for GestureState[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, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

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

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

impl<T> StaticUpcast<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.