Struct qt_core::NativeGestureType
source · pub struct NativeGestureType(/* private fields */);
Expand description
This enum returns the gesture type.
C++ enum: Qt::NativeGestureType
.
This enum returns the gesture type.
This enum was introduced or modified in Qt 5.2.
Implementations§
source§impl NativeGestureType
impl NativeGestureType
sourcepub const BeginNativeGesture: NativeGestureType = _
pub const BeginNativeGesture: NativeGestureType = _
Sent before gesture event stream. (C++ enum variant: BeginNativeGesture = 0
)
sourcepub const EndNativeGesture: NativeGestureType = _
pub const EndNativeGesture: NativeGestureType = _
Sent after gesture event stream. (C++ enum variant: EndNativeGesture = 1
)
sourcepub const PanNativeGesture: NativeGestureType = _
pub const PanNativeGesture: NativeGestureType = _
Sent after a panning gesture. Similar to a click-and-drag mouse movement. (C++ enum variant: PanNativeGesture = 2
)
sourcepub const ZoomNativeGesture: NativeGestureType = _
pub const ZoomNativeGesture: NativeGestureType = _
Specifies the magnification delta in percent. (C++ enum variant: ZoomNativeGesture = 3
)
sourcepub const SmartZoomNativeGesture: NativeGestureType = _
pub const SmartZoomNativeGesture: NativeGestureType = _
Boolean magnification state. (C++ enum variant: SmartZoomNativeGesture = 4
)
sourcepub const RotateNativeGesture: NativeGestureType = _
pub const RotateNativeGesture: NativeGestureType = _
Rotation delta in degrees. (C++ enum variant: RotateNativeGesture = 5
)
sourcepub const SwipeNativeGesture: NativeGestureType = _
pub const SwipeNativeGesture: NativeGestureType = _
Sent after a swipe movements. (C++ enum variant: SwipeNativeGesture = 6
)
Trait Implementations§
source§impl Clone for NativeGestureType
impl Clone for NativeGestureType
source§fn clone(&self) -> NativeGestureType
fn clone(&self) -> NativeGestureType
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 NativeGestureType
impl Debug for NativeGestureType
source§impl From<NativeGestureType> for c_int
impl From<NativeGestureType> for c_int
source§fn from(value: NativeGestureType) -> Self
fn from(value: NativeGestureType) -> Self
Converts to this type from the input type.
source§impl From<i32> for NativeGestureType
impl From<i32> for NativeGestureType
source§impl PartialEq for NativeGestureType
impl PartialEq for NativeGestureType
source§fn eq(&self, other: &NativeGestureType) -> bool
fn eq(&self, other: &NativeGestureType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NativeGestureType
impl Eq for NativeGestureType
impl StructuralEq for NativeGestureType
impl StructuralPartialEq for NativeGestureType
Auto Trait Implementations§
impl RefUnwindSafe for NativeGestureType
impl Send for NativeGestureType
impl Sync for NativeGestureType
impl Unpin for NativeGestureType
impl UnwindSafe for NativeGestureType
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