Struct gilrs::ev::AxisData
[−]
[src]
pub struct AxisData { /* fields omitted */ }
Information about axis stored in State
.
Methods
impl AxisData
[src]
fn value(&self) -> f32
[src]
Returns value of axis.
fn counter(&self) -> u64
[src]
Returns value of counter when axis value last changed.
fn timestamp(&self) -> SystemTime
[src]
Returns when axis value last changed.
Trait Implementations
impl Clone for AxisData
[src]
fn clone(&self) -> AxisData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more