#[repr(transparent)]pub struct Input_MouseEventButton(pub c_int);Available on crate feature
api-12 only.Expand description
Enumerated values of mouse event button.
Available since API-level: 12
Tuple Fields§
§0: c_intImplementations§
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_NONE: Input_MouseEventButton
pub const MOUSE_BUTTON_NONE: Input_MouseEventButton
Invalid button
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_LEFT: Input_MouseEventButton
pub const MOUSE_BUTTON_LEFT: Input_MouseEventButton
Left button on the mouse.
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_MIDDLE: Input_MouseEventButton
pub const MOUSE_BUTTON_MIDDLE: Input_MouseEventButton
Middle button on the mouse.
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_RIGHT: Input_MouseEventButton
pub const MOUSE_BUTTON_RIGHT: Input_MouseEventButton
Right button on the mouse.
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_FORWARD: Input_MouseEventButton
pub const MOUSE_BUTTON_FORWARD: Input_MouseEventButton
Forward button on the mouse.
Source§impl Input_MouseEventButton
impl Input_MouseEventButton
Sourcepub const MOUSE_BUTTON_BACK: Input_MouseEventButton
pub const MOUSE_BUTTON_BACK: Input_MouseEventButton
Back button on the mouse.
Trait Implementations§
Source§impl Clone for Input_MouseEventButton
impl Clone for Input_MouseEventButton
Source§fn clone(&self) -> Input_MouseEventButton
fn clone(&self) -> Input_MouseEventButton
Returns a copy 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 Debug for Input_MouseEventButton
impl Debug for Input_MouseEventButton
Source§impl Hash for Input_MouseEventButton
impl Hash for Input_MouseEventButton
Source§impl PartialEq for Input_MouseEventButton
impl PartialEq for Input_MouseEventButton
impl Copy for Input_MouseEventButton
impl Eq for Input_MouseEventButton
impl StructuralPartialEq for Input_MouseEventButton
Auto Trait Implementations§
impl Freeze for Input_MouseEventButton
impl RefUnwindSafe for Input_MouseEventButton
impl Send for Input_MouseEventButton
impl Sync for Input_MouseEventButton
impl Unpin for Input_MouseEventButton
impl UnwindSafe for Input_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