#[repr(transparent)]pub struct OH_NativeXComponent_EventSourceType(pub c_uint);Expand description
Represents the touch event source type.
Available since API-level: 9
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_NativeXComponent_EventSourceType
impl OH_NativeXComponent_EventSourceType
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_UNKNOWN: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_UNKNOWN: OH_NativeXComponent_EventSourceType
Indicates an unknown input source type.
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_MOUSE: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_MOUSE: OH_NativeXComponent_EventSourceType
Indicates that the input source generates a mouse multi-touch event.
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHSCREEN: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHSCREEN: OH_NativeXComponent_EventSourceType
Indicates that the input source generates a touchscreen multi-touch event.
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHPAD: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHPAD: OH_NativeXComponent_EventSourceType
Indicates that the input source generates a touchpad multi-touch event.
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_JOYSTICK: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_JOYSTICK: OH_NativeXComponent_EventSourceType
Indicates that the input source generates a joystick multi-touch event.
Sourcepub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_KEYBOARD: OH_NativeXComponent_EventSourceType
pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_KEYBOARD: OH_NativeXComponent_EventSourceType
Indicates that the input source generates a keyboard event.
Available since API-level: 10
Version: 1.0
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_EventSourceType
impl Clone for OH_NativeXComponent_EventSourceType
Source§fn clone(&self) -> OH_NativeXComponent_EventSourceType
fn clone(&self) -> OH_NativeXComponent_EventSourceType
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 moreimpl Copy for OH_NativeXComponent_EventSourceType
impl Eq for OH_NativeXComponent_EventSourceType
impl StructuralPartialEq for OH_NativeXComponent_EventSourceType
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_EventSourceType
impl RefUnwindSafe for OH_NativeXComponent_EventSourceType
impl Send for OH_NativeXComponent_EventSourceType
impl Sync for OH_NativeXComponent_EventSourceType
impl Unpin for OH_NativeXComponent_EventSourceType
impl UnwindSafe for OH_NativeXComponent_EventSourceType
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)