#[repr(transparent)]pub struct OH_NativeXComponent_MouseEventAction(pub c_uint);Expand description
Represents the mouse event action.
Available since API-level: 9
Version: 1.0
Tuple Fields§
§0: c_uintImplementations§
Source§impl OH_NativeXComponent_MouseEventAction
impl OH_NativeXComponent_MouseEventAction
pub const OH_NATIVEXCOMPONENT_MOUSE_NONE: OH_NativeXComponent_MouseEventAction
pub const OH_NATIVEXCOMPONENT_MOUSE_PRESS: OH_NativeXComponent_MouseEventAction
pub const OH_NATIVEXCOMPONENT_MOUSE_RELEASE: OH_NativeXComponent_MouseEventAction
pub const OH_NATIVEXCOMPONENT_MOUSE_MOVE: OH_NativeXComponent_MouseEventAction
Sourcepub const OH_NATIVEXCOMPONENT_MOUSE_CANCEL: OH_NativeXComponent_MouseEventAction
Available on crate feature api-18 only.
pub const OH_NATIVEXCOMPONENT_MOUSE_CANCEL: OH_NativeXComponent_MouseEventAction
api-18 only.Triggered when the mouse event is canceled.
Available since API-level: 18
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_MouseEventAction
impl Clone for OH_NativeXComponent_MouseEventAction
Source§fn clone(&self) -> OH_NativeXComponent_MouseEventAction
fn clone(&self) -> OH_NativeXComponent_MouseEventAction
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_MouseEventAction
impl Eq for OH_NativeXComponent_MouseEventAction
impl StructuralPartialEq for OH_NativeXComponent_MouseEventAction
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_MouseEventAction
impl RefUnwindSafe for OH_NativeXComponent_MouseEventAction
impl Send for OH_NativeXComponent_MouseEventAction
impl Sync for OH_NativeXComponent_MouseEventAction
impl Unpin for OH_NativeXComponent_MouseEventAction
impl UnwindSafe for OH_NativeXComponent_MouseEventAction
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)