#[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 (const: unstable) · 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_MouseEventAction
impl PartialEq for OH_NativeXComponent_MouseEventAction
Source§fn eq(&self, other: &OH_NativeXComponent_MouseEventAction) -> bool
fn eq(&self, other: &OH_NativeXComponent_MouseEventAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl 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 UnsafeUnpin for OH_NativeXComponent_MouseEventAction
impl UnwindSafe for OH_NativeXComponent_MouseEventAction
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