Struct multiwii_serial_protocol::structs::MspIdent [] [src]

pub struct MspIdent {
    pub version: u8,
    pub mixer_mode: u8,
    pub protocol_version: u8,
    pub capability: u32,
}

Fields

Methods

impl MspIdent
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 7]> for MspIdent
[src]

Structure that can be packed an unpacked into 7 bytes.

Bit, MSB0NameType
0:7versionu8
8:15mixer_modeu8
16:23protocol_versionu8
24:55capabilityu32

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspIdent
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspIdent
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspIdent
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspIdent
[src]

impl Clone for MspIdent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more