Enum joy::Event
[−]
[src]
pub enum Event { Button(u8, bool), Axis(u8, i16), }
Variants
Button(u8, bool)
Axis(u8, i16)
Trait Implementations
impl Eq for Event
[src]
impl PartialEq for Event
[src]
fn eq(&self, __arg_0: &Event) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Event) -> bool
This method tests for !=
.
impl Debug for Event
[src]
impl Copy for Event
[src]
impl Clone for Event
[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more