pub enum HoldingState {
Started,
Completed,
Canceled,
}Expand description
The state of a holding gesture.
Variants§
Started
A single contact has been detected and a time threshold is crossed without the contact being lifted, another contact detected, or another gesture started.
Completed
The single contact is lifted.
Canceled
An additional contact is detected or a subsequent gesture (such as a slide) is detected.
Trait Implementations§
Source§impl Clone for HoldingState
impl Clone for HoldingState
impl Copy for HoldingState
Source§impl Debug for HoldingState
impl Debug for HoldingState
impl Eq for HoldingState
Source§impl Hash for HoldingState
impl Hash for HoldingState
Source§impl MarkupTyped for HoldingState
impl MarkupTyped for HoldingState
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for HoldingState
impl PartialEq for HoldingState
impl StructuralPartialEq for HoldingState
Auto Trait Implementations§
impl Freeze for HoldingState
impl RefUnwindSafe for HoldingState
impl Send for HoldingState
impl Sync for HoldingState
impl Unpin for HoldingState
impl UnsafeUnpin for HoldingState
impl UnwindSafe for HoldingState
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more