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
sourceimpl Clone for AllDataEvent
impl Clone for AllDataEvent
sourcefn clone(&self) -> AllDataEvent
fn clone(&self) -> AllDataEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AllDataEvent
impl Debug for AllDataEvent
sourceimpl Default for AllDataEvent
impl Default for AllDataEvent
sourcefn default() -> AllDataEvent
fn default() -> AllDataEvent
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for AllDataEvent
impl FromByteSlice for AllDataEvent
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> AllDataEvent
fn from_le_bytes(bytes: &[u8]) -> AllDataEvent
Deserialize the implementing type from a byte slice.
sourceimpl Hash for AllDataEvent
impl Hash for AllDataEvent
sourceimpl PartialEq<AllDataEvent> for AllDataEvent
impl PartialEq<AllDataEvent> for AllDataEvent
sourcefn eq(&self, other: &AllDataEvent) -> bool
fn eq(&self, other: &AllDataEvent) -> bool
impl Copy for AllDataEvent
impl Eq for AllDataEvent
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more