pub struct ScrollState(/* private fields */);Expand description
C++ enum: QScrollEvent::ScrollState.
Implementations§
Source§impl ScrollState
impl ScrollState
Sourcepub const ScrollStarted: ScrollState
pub const ScrollStarted: ScrollState
C++ enum variant: ScrollStarted = 0
Sourcepub const ScrollUpdated: ScrollState
pub const ScrollUpdated: ScrollState
C++ enum variant: ScrollUpdated = 1
Sourcepub const ScrollFinished: ScrollState
pub const ScrollFinished: ScrollState
C++ enum variant: ScrollFinished = 2
Trait Implementations§
Source§impl Clone for ScrollState
impl Clone for ScrollState
Source§fn clone(&self) -> ScrollState
fn clone(&self) -> ScrollState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScrollState
impl Debug for ScrollState
Source§impl From<ScrollState> for c_int
impl From<ScrollState> for c_int
Source§fn from(value: ScrollState) -> Self
fn from(value: ScrollState) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ScrollState
impl From<i32> for ScrollState
Source§impl PartialEq for ScrollState
impl PartialEq for ScrollState
Source§fn eq(&self, other: &ScrollState) -> bool
fn eq(&self, other: &ScrollState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ScrollState
impl Eq for ScrollState
impl StructuralPartialEq for ScrollState
Auto Trait Implementations§
impl Freeze for ScrollState
impl RefUnwindSafe for ScrollState
impl Send for ScrollState
impl Sync for ScrollState
impl Unpin for ScrollState
impl UnsafeUnpin for ScrollState
impl UnwindSafe for ScrollState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more