Struct tinkerforge::imu_brick::AllData
source · pub struct AllData {
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 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