[][src]Struct qt_core::ScrollPhase

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

This enum describes the phase of scrolling.

C++ enum: Qt::ScrollPhase.

C++ documentation:

This enum describes the phase of scrolling.

This enum was introduced or modified in Qt 5.2.

Methods

impl ScrollPhase[src]

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

impl ScrollPhase[src]

pub const NoScrollPhase: ScrollPhase[src]

The input device doesn't support scroll phase. This value was introduced in Qt 5.7. (C++ enum variant: NoScrollPhase = 0)

pub const ScrollBegin: ScrollPhase[src]

Scrolling is about to begin, but the scrolling distance did not yet change. (C++ enum variant: ScrollBegin = 1)

pub const ScrollUpdate: ScrollPhase[src]

The scrolling distance has changed (default). (C++ enum variant: ScrollUpdate = 2)

pub const ScrollEnd: ScrollPhase[src]

Scrolling has ended, but the scrolling distance did not change anymore. (C++ enum variant: ScrollEnd = 3)

pub const ScrollMomentum: ScrollPhase[src]

The user no longer touches the input device, but scrolling continues due to scroll momentum. This value was introduced in Qt 5.12. (C++ enum variant: ScrollMomentum = 4)

Trait Implementations

impl Clone for ScrollPhase[src]

impl Copy for ScrollPhase[src]

impl Debug for ScrollPhase[src]

impl Eq for ScrollPhase[src]

impl From<ScrollPhase> for c_int[src]

impl From<i32> for ScrollPhase[src]

impl PartialEq<ScrollPhase> for ScrollPhase[src]

impl StructuralEq for ScrollPhase[src]

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