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