#[repr(transparent)]pub struct ArkUI_GestureRecognizerType(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates gesture types.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_GestureRecognizerType
impl ArkUI_GestureRecognizerType
Sourcepub const TAP_GESTURE: ArkUI_GestureRecognizerType
pub const TAP_GESTURE: ArkUI_GestureRecognizerType
Tap.
Sourcepub const LONG_PRESS_GESTURE: ArkUI_GestureRecognizerType
pub const LONG_PRESS_GESTURE: ArkUI_GestureRecognizerType
Long press.
Sourcepub const PAN_GESTURE: ArkUI_GestureRecognizerType
pub const PAN_GESTURE: ArkUI_GestureRecognizerType
Pan.
Sourcepub const PINCH_GESTURE: ArkUI_GestureRecognizerType
pub const PINCH_GESTURE: ArkUI_GestureRecognizerType
Pinch.
Sourcepub const ROTATION_GESTURE: ArkUI_GestureRecognizerType
pub const ROTATION_GESTURE: ArkUI_GestureRecognizerType
Rotate.
Sourcepub const SWIPE_GESTURE: ArkUI_GestureRecognizerType
pub const SWIPE_GESTURE: ArkUI_GestureRecognizerType
Swipe.
Sourcepub const GROUP_GESTURE: ArkUI_GestureRecognizerType
pub const GROUP_GESTURE: ArkUI_GestureRecognizerType
A group of gestures.
Sourcepub const CLICK_GESTURE: ArkUI_GestureRecognizerType
Available on crate feature api-20 only.
pub const CLICK_GESTURE: ArkUI_GestureRecognizerType
api-20 only.The click gesture registed through onClick.
Available since API-level: 20
Sourcepub const DRAG_DROP: ArkUI_GestureRecognizerType
Available on crate feature api-20 only.
pub const DRAG_DROP: ArkUI_GestureRecognizerType
api-20 only.Drag gesture used for drag and drop.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for ArkUI_GestureRecognizerType
impl Clone for ArkUI_GestureRecognizerType
Source§fn clone(&self) -> ArkUI_GestureRecognizerType
fn clone(&self) -> ArkUI_GestureRecognizerType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_GestureRecognizerType
impl Debug for ArkUI_GestureRecognizerType
Source§impl Hash for ArkUI_GestureRecognizerType
impl Hash for ArkUI_GestureRecognizerType
impl Copy for ArkUI_GestureRecognizerType
impl Eq for ArkUI_GestureRecognizerType
impl StructuralPartialEq for ArkUI_GestureRecognizerType
Auto Trait Implementations§
impl Freeze for ArkUI_GestureRecognizerType
impl RefUnwindSafe for ArkUI_GestureRecognizerType
impl Send for ArkUI_GestureRecognizerType
impl Sync for ArkUI_GestureRecognizerType
impl Unpin for ArkUI_GestureRecognizerType
impl UnwindSafe for ArkUI_GestureRecognizerType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)