[][src]Struct qt_core::TouchPointState

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

This enum represents the state of a touch point at the time a QTouchEvent occurred.

C++ enum: Qt::TouchPointState.

C++ documentation:

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.

Methods

impl TouchPointState[src]

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

impl TouchPointState[src]

pub const TouchPointPressed: TouchPointState[src]

The touch point is now pressed. (C++ enum variant: TouchPointPressed = 1)

pub const TouchPointMoved: TouchPointState[src]

The touch point moved. (C++ enum variant: TouchPointMoved = 2)

pub const TouchPointStationary: TouchPointState[src]

The touch point did not move. (C++ enum variant: TouchPointStationary = 4)

pub const TouchPointReleased: TouchPointState[src]

The touch point was released. (C++ enum variant: TouchPointReleased = 8)

Trait Implementations

impl<T: Into<QFlags<TouchPointState>>> BitOr<T> for TouchPointState[src]

type Output = QFlags<TouchPointState>

The resulting type after applying the | operator.

impl Clone for TouchPointState[src]

impl Copy for TouchPointState[src]

impl Debug for TouchPointState[src]

impl Eq for TouchPointState[src]

impl From<TouchPointState> for c_int[src]

impl From<TouchPointState> for QFlags<TouchPointState>[src]

impl From<i32> for TouchPointState[src]

impl PartialEq<TouchPointState> for TouchPointState[src]

impl StructuralEq for TouchPointState[src]

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