Enum gilrs::ev::AxisOrBtn [−][src]
Represents Axis
or Button
.
Variants
Axis(Axis)
Btn(Button)
Trait Implementations
impl Copy for AxisOrBtn
[src]
impl Copy for AxisOrBtn
impl Clone for AxisOrBtn
[src]
impl Clone for AxisOrBtn
fn clone(&self) -> AxisOrBtn
[src]
fn clone(&self) -> AxisOrBtn
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AxisOrBtn
[src]
impl Debug for AxisOrBtn
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for AxisOrBtn
[src]
impl Eq for AxisOrBtn
impl PartialEq for AxisOrBtn
[src]
impl PartialEq for AxisOrBtn
fn eq(&self, other: &AxisOrBtn) -> bool
[src]
fn eq(&self, other: &AxisOrBtn) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AxisOrBtn) -> bool
[src]
fn ne(&self, other: &AxisOrBtn) -> bool
This method tests for !=
.
impl Hash for AxisOrBtn
[src]
impl Hash for AxisOrBtn