#[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_uintImplementations§
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§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_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§
§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)