#[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_int
Trait 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.0.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