#[repr(transparent)]pub struct OH_NativeXComponent_TouchPointToolType(pub c_uint);Expand description
Represents the touch point tool type.
Available since API-level: 9
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_NativeXComponent_TouchPointToolType
impl OH_NativeXComponent_TouchPointToolType
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_UNKNOWN: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_UNKNOWN: OH_NativeXComponent_TouchPointToolType
Indicates invalid tool type.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_FINGER: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_FINGER: OH_NativeXComponent_TouchPointToolType
Indicates a finger.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PEN: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PEN: OH_NativeXComponent_TouchPointToolType
Indicates a stylus.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_RUBBER: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_RUBBER: OH_NativeXComponent_TouchPointToolType
Indicates a eraser.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_BRUSH: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_BRUSH: OH_NativeXComponent_TouchPointToolType
Indicates a brush.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PENCIL: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PENCIL: OH_NativeXComponent_TouchPointToolType
Indicates a pencil.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_AIRBRUSH: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_AIRBRUSH: OH_NativeXComponent_TouchPointToolType
Indicates a brush.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_MOUSE: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_MOUSE: OH_NativeXComponent_TouchPointToolType
Indicates a mouse.
Sourcepub const OH_NATIVEXCOMPONENT_TOOL_TYPE_LENS: OH_NativeXComponent_TouchPointToolType
pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_LENS: OH_NativeXComponent_TouchPointToolType
Indicates a lens.
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_TouchPointToolType
impl Clone for OH_NativeXComponent_TouchPointToolType
Source§fn clone(&self) -> OH_NativeXComponent_TouchPointToolType
fn clone(&self) -> OH_NativeXComponent_TouchPointToolType
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_TouchPointToolType
impl PartialEq for OH_NativeXComponent_TouchPointToolType
Source§fn eq(&self, other: &OH_NativeXComponent_TouchPointToolType) -> bool
fn eq(&self, other: &OH_NativeXComponent_TouchPointToolType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OH_NativeXComponent_TouchPointToolType
impl Eq for OH_NativeXComponent_TouchPointToolType
impl StructuralPartialEq for OH_NativeXComponent_TouchPointToolType
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_TouchPointToolType
impl RefUnwindSafe for OH_NativeXComponent_TouchPointToolType
impl Send for OH_NativeXComponent_TouchPointToolType
impl Sync for OH_NativeXComponent_TouchPointToolType
impl Unpin for OH_NativeXComponent_TouchPointToolType
impl UnwindSafe for OH_NativeXComponent_TouchPointToolType
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)