[][src]Struct bno055::BNO055Calibration

#[repr(C)]
pub struct BNO055Calibration { pub acc_offset_x_lsb: u8, pub acc_offset_x_msb: u8, pub acc_offset_y_lsb: u8, pub acc_offset_y_msb: u8, pub acc_offset_z_lsb: u8, pub acc_offset_z_msb: u8, pub mag_offset_x_lsb: u8, pub mag_offset_x_msb: u8, pub mag_offset_y_lsb: u8, pub mag_offset_y_msb: u8, pub mag_offset_z_lsb: u8, pub mag_offset_z_msb: u8, pub gyr_offset_x_lsb: u8, pub gyr_offset_x_msb: u8, pub gyr_offset_y_lsb: u8, pub gyr_offset_y_msb: u8, pub gyr_offset_z_lsb: u8, pub gyr_offset_z_msb: u8, pub acc_radius_lsb: u8, pub acc_radius_msb: u8, pub mag_radius_lsb: u8, pub mag_radius_msb: u8, }

Fields

acc_offset_x_lsb: u8acc_offset_x_msb: u8acc_offset_y_lsb: u8acc_offset_y_msb: u8acc_offset_z_lsb: u8acc_offset_z_msb: u8mag_offset_x_lsb: u8mag_offset_x_msb: u8mag_offset_y_lsb: u8mag_offset_y_msb: u8mag_offset_z_lsb: u8mag_offset_z_msb: u8gyr_offset_x_lsb: u8gyr_offset_x_msb: u8gyr_offset_y_lsb: u8gyr_offset_y_msb: u8gyr_offset_z_lsb: u8gyr_offset_z_msb: u8acc_radius_lsb: u8acc_radius_msb: u8mag_radius_lsb: u8mag_radius_msb: u8

Methods

impl BNO055Calibration[src]

pub fn from_buf(buf: &[u8; 22]) -> BNO055Calibration[src]

pub fn as_bytes(&self) -> &[u8][src]

Trait Implementations

impl Debug for BNO055Calibration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,