Enum ark_api::applet::input::PointerButton
source · pub enum PointerButton {
Primary,
Secondary,
Middle,
}Expand description
A mouse button
Variants§
Primary
Left mouse button on most mice. The only thing valid for touch input.
Secondary
Right mouse button on most mice.
Middle
Middle mouse button
Trait Implementations§
source§impl Clone for PointerButton
impl Clone for PointerButton
source§fn clone(&self) -> PointerButton
fn clone(&self) -> PointerButton
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 PointerButton
impl Debug for PointerButton
source§impl PartialEq<PointerButton> for PointerButton
impl PartialEq<PointerButton> for PointerButton
source§fn eq(&self, other: &PointerButton) -> bool
fn eq(&self, other: &PointerButton) -> bool
This method tests for
self and other values to be equal, and is used
by ==.