pub struct GravityVectorEvent {
    pub x: i16,
    pub y: i16,
    pub z: i16,
}Fields§
§x: i16§y: i16§z: i16Trait Implementations§
source§impl Clone for GravityVectorEvent
 
impl Clone for GravityVectorEvent
source§fn clone(&self) -> GravityVectorEvent
 
fn clone(&self) -> GravityVectorEvent
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 GravityVectorEvent
 
impl Debug for GravityVectorEvent
source§impl Default for GravityVectorEvent
 
impl Default for GravityVectorEvent
source§fn default() -> GravityVectorEvent
 
fn default() -> GravityVectorEvent
Returns the “default value” for a type. Read more
source§impl FromByteSlice for GravityVectorEvent
 
impl FromByteSlice for GravityVectorEvent
source§fn bytes_expected() -> usize
 
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> GravityVectorEvent
 
fn from_le_byte_slice(bytes: &[u8]) -> GravityVectorEvent
Deserialize the implementing type from a byte slice.
source§impl Hash for GravityVectorEvent
 
impl Hash for GravityVectorEvent
source§impl PartialEq for GravityVectorEvent
 
impl PartialEq for GravityVectorEvent
source§fn eq(&self, other: &GravityVectorEvent) -> bool
 
fn eq(&self, other: &GravityVectorEvent) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for GravityVectorEvent
impl Eq for GravityVectorEvent
impl StructuralEq for GravityVectorEvent
impl StructuralPartialEq for GravityVectorEvent
Auto Trait Implementations§
impl RefUnwindSafe for GravityVectorEvent
impl Send for GravityVectorEvent
impl Sync for GravityVectorEvent
impl Unpin for GravityVectorEvent
impl UnwindSafe for GravityVectorEvent
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