[][src]Struct qt_widgets::q_gesture::GestureCancelPolicy

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

This enum describes how accepting a gesture can cancel other gestures automatically.

C++ enum: QGesture::GestureCancelPolicy.

C++ documentation:

This enum describes how accepting a gesture can cancel other gestures automatically.

Methods

impl GestureCancelPolicy[src]

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

impl GestureCancelPolicy[src]

pub const CancelNone: GestureCancelPolicy[src]

On accepting this gesture no other gestures will be affected. (C++ enum variant: CancelNone = 0)

pub const CancelAllInContext: GestureCancelPolicy[src]

On accepting this gesture all gestures that are active in the context (respecting the Qt::GestureFlag that were specified when subscribed to the gesture) will be cancelled. (C++ enum variant: CancelAllInContext = 1)

Trait Implementations

impl Eq for GestureCancelPolicy[src]

impl Clone for GestureCancelPolicy[src]

impl PartialEq<GestureCancelPolicy> for GestureCancelPolicy[src]

impl From<i32> for GestureCancelPolicy[src]

impl From<GestureCancelPolicy> for c_int[src]

impl Copy for GestureCancelPolicy[src]

impl Debug for GestureCancelPolicy[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<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]