[−][src]Struct qt_gui::q_scroll_event::ScrollState
This enum describes the states a scroll event can have.
C++ enum: QScrollEvent::ScrollState
.
This enum describes the states a scroll event can have.
See also QScrollEvent::scrollState().
Methods
impl ScrollState
[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]
fn clone(&self) -> ScrollState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ScrollState
[src]
impl Debug for ScrollState
[src]
impl Eq for ScrollState
[src]
impl From<ScrollState> for c_int
[src]
fn from(value: ScrollState) -> Self
[src]
impl From<i32> for ScrollState
[src]
impl PartialEq<ScrollState> for ScrollState
[src]
fn eq(&self, other: &ScrollState) -> bool
[src]
fn ne(&self, other: &ScrollState) -> bool
[src]
impl StructuralEq for ScrollState
[src]
impl StructuralPartialEq for ScrollState
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollState
impl Send for ScrollState
impl Sync for ScrollState
impl Unpin for ScrollState
impl UnwindSafe for ScrollState
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<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>,