[][src]Struct qt_widgets::q_scroller::ScrollerGestureType

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

This enum contains the different gesture types that are supported by the QScroller gesture recognizer.

C++ enum: QScroller::ScrollerGestureType.

C++ documentation:

This enum contains the different gesture types that are supported by the QScroller gesture recognizer.

Methods

impl ScrollerGestureType[src]

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

impl ScrollerGestureType[src]

pub const TouchGesture: ScrollerGestureType[src]

The gesture recognizer will only trigger on touch events. Specifically it will react on single touch points when using a touch screen and dual touch points when using a touchpad. (C++ enum variant: TouchGesture = 0)

pub const LeftMouseButtonGesture: ScrollerGestureType[src]

The gesture recognizer will only trigger on left mouse button events. (C++ enum variant: LeftMouseButtonGesture = 1)

pub const RightMouseButtonGesture: ScrollerGestureType[src]

The gesture recognizer will only trigger on right mouse button events. (C++ enum variant: RightMouseButtonGesture = 2)

pub const MiddleMouseButtonGesture: ScrollerGestureType[src]

The gesture recognizer will only trigger on middle mouse button events. (C++ enum variant: MiddleMouseButtonGesture = 3)

Trait Implementations

impl Clone for ScrollerGestureType[src]

impl Copy for ScrollerGestureType[src]

impl Debug for ScrollerGestureType[src]

impl Eq for ScrollerGestureType[src]

impl From<ScrollerGestureType> for c_int[src]

impl From<i32> for ScrollerGestureType[src]

impl PartialEq<ScrollerGestureType> for ScrollerGestureType[src]

impl StructuralEq for ScrollerGestureType[src]

impl StructuralPartialEq for ScrollerGestureType[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.