#[repr(C)]pub struct EmscriptenDeviceMotionEvent {
    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,
    pub supportedFields: c_int,
}Fields§
§accelerationX: f64§accelerationY: f64§accelerationZ: f64§accelerationIncludingGravityX: f64§accelerationIncludingGravityY: f64§accelerationIncludingGravityZ: f64§rotationRateAlpha: f64§rotationRateBeta: f64§rotationRateGamma: f64§supportedFields: c_intTrait Implementations§
source§impl Clone for EmscriptenDeviceMotionEvent
 
impl Clone for EmscriptenDeviceMotionEvent
source§fn clone(&self) -> EmscriptenDeviceMotionEvent
 
fn clone(&self) -> EmscriptenDeviceMotionEvent
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for EmscriptenDeviceMotionEvent
 
impl Debug for EmscriptenDeviceMotionEvent
impl Copy for EmscriptenDeviceMotionEvent
Auto Trait Implementations§
impl Freeze for EmscriptenDeviceMotionEvent
impl RefUnwindSafe for EmscriptenDeviceMotionEvent
impl Send for EmscriptenDeviceMotionEvent
impl Sync for EmscriptenDeviceMotionEvent
impl Unpin for EmscriptenDeviceMotionEvent
impl UnwindSafe for EmscriptenDeviceMotionEvent
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)