Struct tinkerforge::imu_v2_brick::AllDataEvent
source · pub struct AllDataEvent {
pub acceleration: [i16; 3],
pub magnetic_field: [i16; 3],
pub angular_velocity: [i16; 3],
pub euler_angle: [i16; 3],
pub quaternion: [i16; 4],
pub linear_acceleration: [i16; 3],
pub gravity_vector: [i16; 3],
pub temperature: i8,
pub calibration_status: u8,
}
Fields
acceleration: [i16; 3]
magnetic_field: [i16; 3]
angular_velocity: [i16; 3]
euler_angle: [i16; 3]
quaternion: [i16; 4]
linear_acceleration: [i16; 3]
gravity_vector: [i16; 3]
temperature: i8
calibration_status: u8
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