[−][src]Struct qt_widgets::q_scroller::ScrollerGestureType
This enum contains the different gesture types that are supported by the QScroller gesture recognizer.
C++ enum: QScroller::ScrollerGestureType
.
This enum contains the different gesture types that are supported by the QScroller gesture recognizer.
Methods
impl ScrollerGestureType
[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]
fn clone(&self) -> ScrollerGestureType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ScrollerGestureType
[src]
impl Debug for ScrollerGestureType
[src]
impl Eq for ScrollerGestureType
[src]
impl From<ScrollerGestureType> for c_int
[src]
fn from(value: ScrollerGestureType) -> Self
[src]
impl From<i32> for ScrollerGestureType
[src]
impl PartialEq<ScrollerGestureType> for ScrollerGestureType
[src]
fn eq(&self, other: &ScrollerGestureType) -> bool
[src]
fn ne(&self, other: &ScrollerGestureType) -> bool
[src]
impl StructuralEq for ScrollerGestureType
[src]
impl StructuralPartialEq for ScrollerGestureType
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollerGestureType
impl Send for ScrollerGestureType
impl Sync for ScrollerGestureType
impl Unpin for ScrollerGestureType
impl UnwindSafe for ScrollerGestureType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,