Enum clutter::GestureTriggerEdge[][src]

#[non_exhaustive]
pub enum GestureTriggerEdge {
    None,
    After,
    Before,
    // some variants omitted
}

Enum passed to the GestureActionExt::set_threshold_trigger_edge function.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

Tell GestureAction that the gesture must begin immediately and there’s no drag limit that will cause its cancellation;

After

Tell GestureAction that it needs to wait until the drag threshold has been exceeded before considering that the gesture has begun;

Before

Tell GestureAction that the gesture must begin immediately and that it must be cancelled once the drag exceed the configured threshold.

Trait Implementations

impl Clone for GestureTriggerEdge[src]

impl Copy for GestureTriggerEdge[src]

impl Debug for GestureTriggerEdge[src]

impl Display for GestureTriggerEdge[src]

impl Eq for GestureTriggerEdge[src]

impl<'a> FromValue<'a> for GestureTriggerEdge[src]

impl<'a> FromValueOptional<'a> for GestureTriggerEdge[src]

impl Hash for GestureTriggerEdge[src]

impl Ord for GestureTriggerEdge[src]

impl PartialEq<GestureTriggerEdge> for GestureTriggerEdge[src]

impl PartialOrd<GestureTriggerEdge> for GestureTriggerEdge[src]

impl SetValue for GestureTriggerEdge[src]

impl StaticType for GestureTriggerEdge[src]

impl StructuralEq for GestureTriggerEdge[src]

impl StructuralPartialEq for GestureTriggerEdge[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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: SetValue + Send + ToValue + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.