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