pub struct TouchPointState(/* private fields */);
Expand description
This enum represents the state of a touch point at the time a QTouchEvent occurred.
C++ enum: Qt::TouchPointState
.
This enum represents the state of a touch point at the time a QTouchEvent occurred.
This enum was introduced or modified in Qt 4.6.
The TouchPointStates type is a typedef for QFlags<TouchPointState>. It stores an OR combination of TouchPointState values.
Implementations§
Source§impl TouchPointState
impl TouchPointState
Sourcepub const TouchPointPressed: TouchPointState
pub const TouchPointPressed: TouchPointState
The touch point is now pressed. (C++ enum variant: TouchPointPressed = 1
)
Sourcepub const TouchPointMoved: TouchPointState
pub const TouchPointMoved: TouchPointState
The touch point moved. (C++ enum variant: TouchPointMoved = 2
)
Sourcepub const TouchPointStationary: TouchPointState
pub const TouchPointStationary: TouchPointState
The touch point did not move. (C++ enum variant: TouchPointStationary = 4
)
Sourcepub const TouchPointReleased: TouchPointState
pub const TouchPointReleased: TouchPointState
The touch point was released. (C++ enum variant: TouchPointReleased = 8
)
Trait Implementations§
Source§impl<T: Into<QFlags<TouchPointState>>> BitOr<T> for TouchPointState
impl<T: Into<QFlags<TouchPointState>>> BitOr<T> for TouchPointState
Source§impl Clone for TouchPointState
impl Clone for TouchPointState
Source§fn clone(&self) -> TouchPointState
fn clone(&self) -> TouchPointState
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 TouchPointState
impl Debug for TouchPointState
Source§impl From<TouchPointState> for QFlags<TouchPointState>
impl From<TouchPointState> for QFlags<TouchPointState>
Source§fn from(value: TouchPointState) -> Self
fn from(value: TouchPointState) -> Self
Converts to this type from the input type.
Source§impl From<TouchPointState> for c_int
impl From<TouchPointState> for c_int
Source§fn from(value: TouchPointState) -> Self
fn from(value: TouchPointState) -> Self
Converts to this type from the input type.
Source§impl From<i32> for TouchPointState
impl From<i32> for TouchPointState
Source§impl PartialEq for TouchPointState
impl PartialEq for TouchPointState
impl Copy for TouchPointState
impl Eq for TouchPointState
impl StructuralPartialEq for TouchPointState
Auto Trait Implementations§
impl Freeze for TouchPointState
impl RefUnwindSafe for TouchPointState
impl Send for TouchPointState
impl Sync for TouchPointState
impl Unpin for TouchPointState
impl UnwindSafe for TouchPointState
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