[][src]Struct qt_gui::q_scroll_event::ScrollState

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

This enum describes the states a scroll event can have.

C++ enum: QScrollEvent::ScrollState.

C++ documentation:

This enum describes the states a scroll event can have.

See also QScrollEvent::scrollState().

Methods

impl ScrollState[src]

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

impl ScrollState[src]

pub const ScrollStarted: ScrollState[src]

Set for the first scroll event of a scroll activity. (C++ enum variant: ScrollStarted = 0)

pub const ScrollUpdated: ScrollState[src]

Set for all but the first and the last scroll event of a scroll activity. (C++ enum variant: ScrollUpdated = 1)

pub const ScrollFinished: ScrollState[src]

Set for the last scroll event of a scroll activity. (C++ enum variant: ScrollFinished = 2)

Trait Implementations

impl Clone for ScrollState[src]

impl Copy for ScrollState[src]

impl Debug for ScrollState[src]

impl Eq for ScrollState[src]

impl From<ScrollState> for c_int[src]

impl From<i32> for ScrollState[src]

impl PartialEq<ScrollState> for ScrollState[src]

impl StructuralEq for ScrollState[src]

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