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