#[repr(transparent)]pub struct QarGuiPanelGestureKind(pub c_int);Expand description
@brief What a contact on a GUI panel was recognised as.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarGuiPanelGestureKind
impl QarGuiPanelGestureKind
Sourcepub const QAR_GUI_PANEL_GESTURE_KIND_HOVER: QarGuiPanelGestureKind
pub const QAR_GUI_PANEL_GESTURE_KIND_HOVER: QarGuiPanelGestureKind
Fingertip inside the hover volume. A lifecycle: QAR_GESTURE_PHASE_STARTED on entry, QAR_GESTURE_PHASE_UPDATED as the content position changes, QAR_GESTURE_PHASE_ENDED on exit. It stays open while the same fingertip is touching, so a highlight under the finger survives a press.
Sourcepub const QAR_GUI_PANEL_GESTURE_KIND_TAP: QarGuiPanelGestureKind
pub const QAR_GUI_PANEL_GESTURE_KIND_TAP: QarGuiPanelGestureKind
Touched and released with little travel and before the long-press duration. Instant.
Sourcepub const QAR_GUI_PANEL_GESTURE_KIND_LONG_PRESS: QarGuiPanelGestureKind
pub const QAR_GUI_PANEL_GESTURE_KIND_LONG_PRESS: QarGuiPanelGestureKind
Touched and held in place for the long-press duration. Instant, once per contact; the contact may still become a drag afterwards.
Sourcepub const QAR_GUI_PANEL_GESTURE_KIND_DRAG: QarGuiPanelGestureKind
pub const QAR_GUI_PANEL_GESTURE_KIND_DRAG: QarGuiPanelGestureKind
A contact that travelled past the tap threshold. A lifecycle: started at the threshold crossing, updated per changed content position, ended on release, canceled when the contact is taken away.
Trait Implementations§
Source§impl Clone for QarGuiPanelGestureKind
impl Clone for QarGuiPanelGestureKind
impl Copy for QarGuiPanelGestureKind
Source§impl Debug for QarGuiPanelGestureKind
impl Debug for QarGuiPanelGestureKind
impl Eq for QarGuiPanelGestureKind
Source§impl Hash for QarGuiPanelGestureKind
impl Hash for QarGuiPanelGestureKind
Source§impl PartialEq for QarGuiPanelGestureKind
impl PartialEq for QarGuiPanelGestureKind
impl StructuralPartialEq for QarGuiPanelGestureKind
Auto Trait Implementations§
impl Freeze for QarGuiPanelGestureKind
impl RefUnwindSafe for QarGuiPanelGestureKind
impl Send for QarGuiPanelGestureKind
impl Sync for QarGuiPanelGestureKind
impl Unpin for QarGuiPanelGestureKind
impl UnsafeUnpin for QarGuiPanelGestureKind
impl UnwindSafe for QarGuiPanelGestureKind
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