Enum me3_framework::overlay::PointerButton
source · [−]pub enum PointerButton {
Primary,
Secondary,
Middle,
Extra1,
Extra2,
}
Expand description
Mouse button (or similar for touch input)
Variants
Primary
The primary mouse button is usually the left one.
Secondary
The secondary mouse button is usually the right one, and most often used for context menus or other optional things.
Middle
The tertiary mouse button is usually the middle mouse button (e.g. clicking the scroll wheel).
Extra1
The first extra mouse button on some mice. In web typically corresponds to the Browser back button.
Extra2
The second extra mouse button on some mice. In web typically corresponds to the Browser forward button.
Trait Implementations
sourceimpl Clone for PointerButton
impl Clone for PointerButton
sourcefn clone(&self) -> PointerButton
fn clone(&self) -> PointerButton
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PointerButton
impl Debug for PointerButton
sourceimpl PartialEq<PointerButton> for PointerButton
impl PartialEq<PointerButton> for PointerButton
sourcefn eq(&self, other: &PointerButton) -> bool
fn eq(&self, other: &PointerButton) -> bool
impl Copy for PointerButton
impl Eq for PointerButton
impl StructuralEq for PointerButton
impl StructuralPartialEq for PointerButton
Auto Trait Implementations
impl RefUnwindSafe for PointerButton
impl Send for PointerButton
impl Sync for PointerButton
impl Unpin for PointerButton
impl UnwindSafe for PointerButton
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more