Struct multiwii_serial_protocol::structs::MspAvailableSensors [] [src]

pub struct MspAvailableSensors {
    pub sonar: bool,
    pub gps: bool,
    pub mag: bool,
    pub baro: bool,
    pub acc: bool,
}

Fields

Methods

impl MspAvailableSensors
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 1]> for MspAvailableSensors
[src]

Structure that can be packed an unpacked into 1 bytes.

Bit, MSB0NameType
2sonarbool
4gpsbool
5magbool
6barobool
7accbool

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspAvailableSensors
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspAvailableSensors
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspAvailableSensors
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspAvailableSensors
[src]

impl Clone for MspAvailableSensors
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more