Struct multiwii_serial_protocol::structs::MspRawImu [] [src]

pub struct MspRawImu {
    pub acc_x: i16,
    pub acc_y: i16,
    pub acc_z: i16,
    pub gyro_x: i16,
    pub gyro_y: i16,
    pub gyro_z: i16,
    pub mag_x: i16,
    pub mag_y: i16,
    pub mag_z: i16,
}

Fields

Methods

impl MspRawImu
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 18]> for MspRawImu
[src]

Structure that can be packed an unpacked into 18 bytes.

Bit, MSB0NameType
0:15acc_xi16
16:31acc_yi16
32:47acc_zi16
48:63gyro_xi16
64:79gyro_yi16
80:95gyro_zi16
96:111mag_xi16
112:127mag_yi16
128:143mag_zi16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspRawImu
[src]

[src]

Number of bits that this structure occupies when being packed.

impl PackedStructSlice for MspRawImu
[src]

[src]

Pack the structure into an output buffer.

[src]

Unpack the structure from a buffer.

[src]

Number of bytes that this structure demands for packing or unpacking.

[src]

Pack the structure into a new byte vector.

impl PackedStructDebug for MspRawImu
[src]

[src]

[src]

impl Display for MspRawImu
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspRawImu
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspRawImu
[src]

impl Clone for MspRawImu
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more