#[repr(transparent)]pub struct OH_NativeXComponent_TouchEvent_SourceTool(pub c_uint);Expand description
Represents the source tool type of TouchEvent
Available since API-level: 10
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_NativeXComponent_TouchEvent_SourceTool
impl OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_UNKNOWN: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_FINGER: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_PEN: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_RUBBER: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_BRUSH: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_PENCIL: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_AIRBRUSH: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_MOUSE: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_LENS: OH_NativeXComponent_TouchEvent_SourceTool
pub const OH_NATIVEXCOMPONENT_SOURCETOOL_TOUCHPAD: OH_NativeXComponent_TouchEvent_SourceTool
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_TouchEvent_SourceTool
impl Clone for OH_NativeXComponent_TouchEvent_SourceTool
Source§fn clone(&self) -> OH_NativeXComponent_TouchEvent_SourceTool
fn clone(&self) -> OH_NativeXComponent_TouchEvent_SourceTool
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 PartialEq for OH_NativeXComponent_TouchEvent_SourceTool
impl PartialEq for OH_NativeXComponent_TouchEvent_SourceTool
Source§fn eq(&self, other: &OH_NativeXComponent_TouchEvent_SourceTool) -> bool
fn eq(&self, other: &OH_NativeXComponent_TouchEvent_SourceTool) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_NativeXComponent_TouchEvent_SourceTool
impl Eq for OH_NativeXComponent_TouchEvent_SourceTool
impl StructuralPartialEq for OH_NativeXComponent_TouchEvent_SourceTool
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_TouchEvent_SourceTool
impl RefUnwindSafe for OH_NativeXComponent_TouchEvent_SourceTool
impl Send for OH_NativeXComponent_TouchEvent_SourceTool
impl Sync for OH_NativeXComponent_TouchEvent_SourceTool
impl Unpin for OH_NativeXComponent_TouchEvent_SourceTool
impl UnwindSafe for OH_NativeXComponent_TouchEvent_SourceTool
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)