[][src]Struct qt_widgets::q_pinch_gesture::ChangeFlag

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

This enum describes the changes that can occur to the properties of the gesture object.

C++ enum: QPinchGesture::ChangeFlag.

C++ documentation:

This enum describes the changes that can occur to the properties of the gesture object.

The ChangeFlags type is a typedef for QFlags<ChangeFlag>. It stores an OR combination of ChangeFlag values.

See also changeFlags and totalChangeFlags.

Methods

impl ChangeFlag[src]

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

impl ChangeFlag[src]

pub const ScaleFactorChanged: ChangeFlag[src]

The scale factor held by scaleFactor changed. (C++ enum variant: ScaleFactorChanged = 1)

pub const RotationAngleChanged: ChangeFlag[src]

The rotation angle held by rotationAngle changed. (C++ enum variant: RotationAngleChanged = 2)

pub const CenterPointChanged: ChangeFlag[src]

The center point held by centerPoint changed. (C++ enum variant: CenterPointChanged = 4)

Trait Implementations

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

type Output = QFlags<ChangeFlag>

The resulting type after applying the | operator.

impl Clone for ChangeFlag[src]

impl Copy for ChangeFlag[src]

impl Debug for ChangeFlag[src]

impl Eq for ChangeFlag[src]

impl From<ChangeFlag> for c_int[src]

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

impl From<i32> for ChangeFlag[src]

impl PartialEq<ChangeFlag> for ChangeFlag[src]

impl StructuralEq for ChangeFlag[src]

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