#[repr(C)]pub struct EmscriptenDeviceOrientationEvent {
pub alpha: f64,
pub beta: f64,
pub gamma: f64,
pub absolute: bool,
}
Fields§
§alpha: f64
§beta: f64
§gamma: f64
§absolute: bool
Trait Implementations§
Source§impl Clone for EmscriptenDeviceOrientationEvent
impl Clone for EmscriptenDeviceOrientationEvent
Source§fn clone(&self) -> EmscriptenDeviceOrientationEvent
fn clone(&self) -> EmscriptenDeviceOrientationEvent
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 moreimpl Copy for EmscriptenDeviceOrientationEvent
Auto Trait Implementations§
impl Freeze for EmscriptenDeviceOrientationEvent
impl RefUnwindSafe for EmscriptenDeviceOrientationEvent
impl Send for EmscriptenDeviceOrientationEvent
impl Sync for EmscriptenDeviceOrientationEvent
impl Unpin for EmscriptenDeviceOrientationEvent
impl UnwindSafe for EmscriptenDeviceOrientationEvent
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