[][src]Struct qt_widgets::q_scroller::Input

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

This enum contains an input device agnostic view of input events that are relevant for QScroller.

C++ enum: QScroller::Input.

C++ documentation:

This enum contains an input device agnostic view of input events that are relevant for QScroller.

Methods

impl Input[src]

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

impl Input[src]

pub const InputPress: Input[src]

The user pressed the input device (e.g. QEvent::MouseButtonPress, QEvent::GraphicsSceneMousePress, QEvent::TouchBegin) (C++ enum variant: InputPress = 1)

pub const InputMove: Input[src]

The user moved the input device (e.g. QEvent::MouseMove, QEvent::GraphicsSceneMouseMove, QEvent::TouchUpdate) (C++ enum variant: InputMove = 2)

pub const InputRelease: Input[src]

The user released the input device (e.g. QEvent::MouseButtonRelease, QEvent::GraphicsSceneMouseRelease, QEvent::TouchEnd) (C++ enum variant: InputRelease = 3)

Trait Implementations

impl Eq for Input[src]

impl Clone for Input[src]

impl PartialEq<Input> for Input[src]

impl From<i32> for Input[src]

impl From<Input> for c_int[src]

impl Copy for Input[src]

impl Debug for Input[src]

Auto Trait Implementations

impl Send for Input

impl Unpin for Input

impl Sync for Input

impl UnwindSafe for Input

impl RefUnwindSafe for Input

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]