#[repr(transparent)]pub struct OH_NativeXComponent_TouchEventType(pub c_uint);Available on crate feature
xcomponent only.Tuple Fields§
§0: c_uintImplementations§
source§impl OH_NativeXComponent_TouchEventType
impl OH_NativeXComponent_TouchEventType
sourcepub const OH_NATIVEXCOMPONENT_DOWN: OH_NativeXComponent_TouchEventType = _
pub const OH_NATIVEXCOMPONENT_DOWN: OH_NativeXComponent_TouchEventType = _
Trigger a touch event when a finger is pressed.
source§impl OH_NativeXComponent_TouchEventType
impl OH_NativeXComponent_TouchEventType
sourcepub const OH_NATIVEXCOMPONENT_UP: OH_NativeXComponent_TouchEventType = _
pub const OH_NATIVEXCOMPONENT_UP: OH_NativeXComponent_TouchEventType = _
Trigger a touch event when a finger is lifted.
source§impl OH_NativeXComponent_TouchEventType
impl OH_NativeXComponent_TouchEventType
sourcepub const OH_NATIVEXCOMPONENT_MOVE: OH_NativeXComponent_TouchEventType = _
pub const OH_NATIVEXCOMPONENT_MOVE: OH_NativeXComponent_TouchEventType = _
Trigger a touch event when a finger moves on the screen in pressed state.
source§impl OH_NativeXComponent_TouchEventType
impl OH_NativeXComponent_TouchEventType
sourcepub const OH_NATIVEXCOMPONENT_CANCEL: OH_NativeXComponent_TouchEventType = _
pub const OH_NATIVEXCOMPONENT_CANCEL: OH_NativeXComponent_TouchEventType = _
Trigger an event when a touch event is canceled.
source§impl OH_NativeXComponent_TouchEventType
impl OH_NativeXComponent_TouchEventType
sourcepub const OH_NATIVEXCOMPONENT_UNKNOWN: OH_NativeXComponent_TouchEventType = _
pub const OH_NATIVEXCOMPONENT_UNKNOWN: OH_NativeXComponent_TouchEventType = _
Invalid touch type.
Trait Implementations§
source§impl Clone for OH_NativeXComponent_TouchEventType
impl Clone for OH_NativeXComponent_TouchEventType
source§fn clone(&self) -> OH_NativeXComponent_TouchEventType
fn clone(&self) -> OH_NativeXComponent_TouchEventType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for OH_NativeXComponent_TouchEventType
impl PartialEq for OH_NativeXComponent_TouchEventType
source§fn eq(&self, other: &OH_NativeXComponent_TouchEventType) -> bool
fn eq(&self, other: &OH_NativeXComponent_TouchEventType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_NativeXComponent_TouchEventType
impl Eq for OH_NativeXComponent_TouchEventType
impl StructuralPartialEq for OH_NativeXComponent_TouchEventType
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_TouchEventType
impl RefUnwindSafe for OH_NativeXComponent_TouchEventType
impl Send for OH_NativeXComponent_TouchEventType
impl Sync for OH_NativeXComponent_TouchEventType
impl Unpin for OH_NativeXComponent_TouchEventType
impl UnwindSafe for OH_NativeXComponent_TouchEventType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)