Struct multiwii_serial_protocol::structs::MspDataFlashSummaryReply [] [src]

pub struct MspDataFlashSummaryReply {
    pub supported: bool,
    pub ready: bool,
    pub sectors: u32,
    pub total_size_bytes: u32,
    pub used_size_bytes: u32,
}

Fields

Methods

impl MspDataFlashSummaryReply
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 13]> for MspDataFlashSummaryReply
[src]

Structure that can be packed an unpacked into 13 bytes.

Bit, MSB0NameType
6supportedbool
7readybool
8:39sectorsu32
40:71total_size_bytesu32
72:103used_size_bytesu32

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspDataFlashSummaryReply
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspDataFlashSummaryReply
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspDataFlashSummaryReply
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspDataFlashSummaryReply
[src]

impl Clone for MspDataFlashSummaryReply
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more