Struct steamy_controller::Axis
[−]
[src]
pub struct Axis { pub x: i16, pub y: i16, }
Axis on the pad.
Fields
x: i16
The X axis.
y: i16
The Y axis.
Methods
impl Axis
[src]
Trait Implementations
impl Clone for Axis
[src]
fn clone(&self) -> Axis
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
impl Copy for Axis
[src]
impl PartialEq for Axis
[src]
fn eq(&self, __arg_0: &Axis) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Axis) -> bool
This method tests for !=
.