[−][src]Struct qt_widgets::q_swipe_gesture::SwipeDirection
This enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.
C++ enum: QSwipeGesture::SwipeDirection
.
This enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.
Methods
impl SwipeDirection
[src]
impl SwipeDirection
[src]
pub const NoDirection: SwipeDirection
[src]
The gesture had no motion associated with it on a particular axis. (C++ enum variant: NoDirection = 0
)
pub const Left: SwipeDirection
[src]
The gesture involved a horizontal motion to the left. (C++ enum variant: Left = 1
)
pub const Right: SwipeDirection
[src]
The gesture involved a horizontal motion to the right. (C++ enum variant: Right = 2
)
pub const Up: SwipeDirection
[src]
The gesture involved an upward vertical motion. (C++ enum variant: Up = 3
)
pub const Down: SwipeDirection
[src]
The gesture involved a downward vertical motion. (C++ enum variant: Down = 4
)
Trait Implementations
impl Clone for SwipeDirection
[src]
fn clone(&self) -> SwipeDirection
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SwipeDirection
[src]
impl Debug for SwipeDirection
[src]
impl Eq for SwipeDirection
[src]
impl From<SwipeDirection> for c_int
[src]
fn from(value: SwipeDirection) -> Self
[src]
impl From<i32> for SwipeDirection
[src]
impl PartialEq<SwipeDirection> for SwipeDirection
[src]
fn eq(&self, other: &SwipeDirection) -> bool
[src]
fn ne(&self, other: &SwipeDirection) -> bool
[src]
impl StructuralEq for SwipeDirection
[src]
impl StructuralPartialEq for SwipeDirection
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwipeDirection
impl Send for SwipeDirection
impl Sync for SwipeDirection
impl Unpin for SwipeDirection
impl UnwindSafe for SwipeDirection
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,