Struct multiwii_serial_protocol::structs::MspMotor [] [src]

pub struct MspMotor {
    pub motors: [u16; 8],
}

Fields

Methods

impl MspMotor
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 16]> for MspMotor
[src]

Structure that can be packed an unpacked into 16 bytes.

Bit, MSB0NameType
0:15motors[0]u16
16:31motors[1]u16
32:47motors[2]u16
48:63motors[3]u16
64:79motors[4]u16
80:95motors[5]u16
96:111motors[6]u16
112:127motors[7]u16

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspMotor
[src]

[src]

Number of bits that this structure occupies when being packed.

impl PackedStructSlice for MspMotor
[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 MspMotor
[src]

[src]

[src]

impl Display for MspMotor
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspMotor
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspMotor
[src]

impl Clone for MspMotor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for MspMotor
[src]

[src]

Returns the "default value" for a type. Read more