Struct qt_core::GestureState
source · pub struct GestureState(/* private fields */);
Expand description
This enum type describes the state of a gesture.
C++ enum: Qt::GestureState
.
This enum type describes the state of a gesture.
This enum was introduced or modified in Qt 4.6.
See also QGesture.
Implementations§
source§impl GestureState
impl GestureState
sourcepub const NoGesture: GestureState = _
pub const NoGesture: GestureState = _
No gesture has been detected. (C++ enum variant: NoGesture = 0
)
sourcepub const GestureStarted: GestureState = _
pub const GestureStarted: GestureState = _
A continuous gesture has started. (C++ enum variant: GestureStarted = 1
)
sourcepub const GestureUpdated: GestureState = _
pub const GestureUpdated: GestureState = _
A gesture continues. (C++ enum variant: GestureUpdated = 2
)
sourcepub const GestureFinished: GestureState = _
pub const GestureFinished: GestureState = _
A gesture has finished. (C++ enum variant: GestureFinished = 3
)
sourcepub const GestureCanceled: GestureState = _
pub const GestureCanceled: GestureState = _
A gesture was canceled. (C++ enum variant: GestureCanceled = 4
)
Trait Implementations§
source§impl Clone for GestureState
impl Clone for GestureState
source§fn clone(&self) -> GestureState
fn clone(&self) -> GestureState
Returns a copy of the value. Read more
1.0.0 · 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 GestureState
impl Debug for GestureState
source§impl From<GestureState> for c_int
impl From<GestureState> for c_int
source§fn from(value: GestureState) -> Self
fn from(value: GestureState) -> Self
Converts to this type from the input type.
source§impl From<i32> for GestureState
impl From<i32> for GestureState
source§impl PartialEq for GestureState
impl PartialEq for GestureState
source§fn eq(&self, other: &GestureState) -> bool
fn eq(&self, other: &GestureState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GestureState
impl Eq for GestureState
impl StructuralEq for GestureState
impl StructuralPartialEq for GestureState
Auto Trait Implementations§
impl RefUnwindSafe for GestureState
impl Send for GestureState
impl Sync for GestureState
impl Unpin for GestureState
impl UnwindSafe for GestureState
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