Struct multiwii_serial_protocol::structs::MspVoltageMeter [] [src]

pub struct MspVoltageMeter {
    pub id: u8,
    pub value: u8,
}

Fields

Methods

impl MspVoltageMeter
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 2]> for MspVoltageMeter
[src]

Structure that can be packed an unpacked into 2 bytes.

Bit, MSB0NameType
0:7idu8
8:15valueu8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspVoltageMeter
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspVoltageMeter
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspVoltageMeter
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspVoltageMeter
[src]

impl Clone for MspVoltageMeter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more