#[repr(transparent)]pub struct OH_NativeXComponent_MouseEventButton(pub c_uint);
Expand description
Represents the mouse event button.
Available since API-level: 9
Version: 1.0
Tuple Fields§
§0: c_uint
Implementations§
Source§impl OH_NativeXComponent_MouseEventButton
impl OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_NONE_BUTTON: OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_LEFT_BUTTON: OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_RIGHT_BUTTON: OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_MIDDLE_BUTTON: OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_BACK_BUTTON: OH_NativeXComponent_MouseEventButton
pub const OH_NATIVEXCOMPONENT_FORWARD_BUTTON: OH_NativeXComponent_MouseEventButton
Trait Implementations§
Source§impl Clone for OH_NativeXComponent_MouseEventButton
impl Clone for OH_NativeXComponent_MouseEventButton
Source§fn clone(&self) -> OH_NativeXComponent_MouseEventButton
fn clone(&self) -> OH_NativeXComponent_MouseEventButton
Returns a duplicate of the value. Read more
1.0.0 · 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_MouseEventButton
impl PartialEq for OH_NativeXComponent_MouseEventButton
Source§fn eq(&self, other: &OH_NativeXComponent_MouseEventButton) -> bool
fn eq(&self, other: &OH_NativeXComponent_MouseEventButton) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for OH_NativeXComponent_MouseEventButton
impl Eq for OH_NativeXComponent_MouseEventButton
impl StructuralPartialEq for OH_NativeXComponent_MouseEventButton
Auto Trait Implementations§
impl Freeze for OH_NativeXComponent_MouseEventButton
impl RefUnwindSafe for OH_NativeXComponent_MouseEventButton
impl Send for OH_NativeXComponent_MouseEventButton
impl Sync for OH_NativeXComponent_MouseEventButton
impl Unpin for OH_NativeXComponent_MouseEventButton
impl UnwindSafe for OH_NativeXComponent_MouseEventButton
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