Struct tinkerforge::imu_v2_brick::AllData
source · pub struct AllData {
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§
source§impl FromByteSlice for AllData
impl FromByteSlice for AllData
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]) -> AllData
fn from_le_byte_slice(bytes: &[u8]) -> AllData
Deserialize the implementing type from a byte slice.
source§impl PartialEq for AllData
impl PartialEq for AllData
impl Copy for AllData
impl Eq for AllData
impl StructuralPartialEq for AllData
Auto Trait Implementations§
impl RefUnwindSafe for AllData
impl Send for AllData
impl Sync for AllData
impl Unpin for AllData
impl UnwindSafe for AllData
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