Enum raylib_ffi::enums::MouseButton
source · #[repr(C)]
pub enum MouseButton {
MOUSEBUTTONLEFT,
MOUSEBUTTONRIGHT,
MOUSEBUTTONMIDDLE,
MOUSEBUTTONSIDE,
MOUSEBUTTONEXTRA,
MOUSEBUTTONFORWARD,
MOUSEBUTTONBACK,
}Expand description
Mouse buttons
Variants§
MOUSEBUTTONLEFT
Mouse button left
MOUSEBUTTONRIGHT
Mouse button right
MOUSEBUTTONMIDDLE
Mouse button middle (pressed wheel)
MOUSEBUTTONSIDE
Mouse button side (advanced mouse device)
MOUSEBUTTONEXTRA
Mouse button extra (advanced mouse device)
MOUSEBUTTONFORWARD
Mouse button forward (advanced mouse device)
MOUSEBUTTONBACK
Mouse button back (advanced mouse device)
Trait Implementations§
source§impl Clone for MouseButton
impl Clone for MouseButton
source§fn clone(&self) -> MouseButton
fn clone(&self) -> MouseButton
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 MouseButton
impl Debug for MouseButton
source§impl Hash for MouseButton
impl Hash for MouseButton
source§impl PartialEq<MouseButton> for MouseButton
impl PartialEq<MouseButton> for MouseButton
source§fn eq(&self, other: &MouseButton) -> bool
fn eq(&self, other: &MouseButton) -> bool
This method tests for
self and other values to be equal, and is used
by ==.