[−][src]Struct qt_widgets::q_gesture::GestureCancelPolicy
This enum describes how accepting a gesture can cancel other gestures automatically.
C++ enum: QGesture::GestureCancelPolicy
.
This enum describes how accepting a gesture can cancel other gestures automatically.
Methods
impl GestureCancelPolicy
[src]
impl GestureCancelPolicy
[src]
pub const CancelNone: GestureCancelPolicy
[src]
On accepting this gesture no other gestures will be affected. (C++ enum variant: CancelNone = 0
)
pub const CancelAllInContext: GestureCancelPolicy
[src]
On accepting this gesture all gestures that are active in the context (respecting the Qt::GestureFlag that were specified when subscribed to the gesture) will be cancelled. (C++ enum variant: CancelAllInContext = 1
)
Trait Implementations
impl Eq for GestureCancelPolicy
[src]
impl Clone for GestureCancelPolicy
[src]
fn clone(&self) -> GestureCancelPolicy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<GestureCancelPolicy> for GestureCancelPolicy
[src]
fn eq(&self, other: &GestureCancelPolicy) -> bool
[src]
fn ne(&self, other: &GestureCancelPolicy) -> bool
[src]
impl From<i32> for GestureCancelPolicy
[src]
impl From<GestureCancelPolicy> for c_int
[src]
fn from(value: GestureCancelPolicy) -> Self
[src]
impl Copy for GestureCancelPolicy
[src]
impl Debug for GestureCancelPolicy
[src]
Auto Trait Implementations
impl Send for GestureCancelPolicy
impl Unpin for GestureCancelPolicy
impl Sync for GestureCancelPolicy
impl UnwindSafe for GestureCancelPolicy
impl RefUnwindSafe for GestureCancelPolicy
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,