Struct tinkerforge::imu_v3_bricklet::GravityVector
source · pub struct GravityVector {
pub x: i16,
pub y: i16,
pub z: i16,
}
Fields§
§x: i16
§y: i16
§z: i16
Trait Implementations§
source§impl Clone for GravityVector
impl Clone for GravityVector
source§fn clone(&self) -> GravityVector
fn clone(&self) -> GravityVector
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 GravityVector
impl Debug for GravityVector
source§impl Default for GravityVector
impl Default for GravityVector
source§fn default() -> GravityVector
fn default() -> GravityVector
Returns the “default value” for a type. Read more
source§impl FromByteSlice for GravityVector
impl FromByteSlice for GravityVector
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]) -> GravityVector
fn from_le_byte_slice(bytes: &[u8]) -> GravityVector
Deserialize the implementing type from a byte slice.
source§impl Hash for GravityVector
impl Hash for GravityVector
source§impl PartialEq for GravityVector
impl PartialEq for GravityVector
source§fn eq(&self, other: &GravityVector) -> bool
fn eq(&self, other: &GravityVector) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GravityVector
impl Eq for GravityVector
impl StructuralPartialEq for GravityVector
Auto Trait Implementations§
impl RefUnwindSafe for GravityVector
impl Send for GravityVector
impl Sync for GravityVector
impl Unpin for GravityVector
impl UnwindSafe for GravityVector
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