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
sourceimpl FromByteSlice for AllData
impl FromByteSlice for AllData
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]) -> AllData
fn from_le_bytes(bytes: &[u8]) -> AllData
Deserialize the implementing type from a byte slice.
impl Copy for AllData
impl Eq for AllData
impl StructuralEq 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
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