Struct emscripten_sys::EmscriptenDeviceMotionEvent
[−]
[src]
#[repr(C)]pub struct EmscriptenDeviceMotionEvent { pub timestamp: f64, pub accelerationX: f64, pub accelerationY: f64, pub accelerationZ: f64, pub accelerationIncludingGravityX: f64, pub accelerationIncludingGravityY: f64, pub accelerationIncludingGravityZ: f64, pub rotationRateAlpha: f64, pub rotationRateBeta: f64, pub rotationRateGamma: f64, }
Fields
timestamp: f64
accelerationX: f64
accelerationY: f64
accelerationZ: f64
accelerationIncludingGravityX: f64
accelerationIncludingGravityY: f64
accelerationIncludingGravityZ: f64
rotationRateAlpha: f64
rotationRateBeta: f64
rotationRateGamma: f64
Trait Implementations
impl Debug for EmscriptenDeviceMotionEvent
[src]
impl Copy for EmscriptenDeviceMotionEvent
[src]
impl Clone for EmscriptenDeviceMotionEvent
[src]
fn clone(&self) -> Self
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