Struct multiwii_serial_protocol::structs::MspBuildInfo [] [src]

pub struct MspBuildInfo {
    pub date_str: [u8; 11],
    pub time_str: [u8; 8],
    pub git_str: [u8; 7],
}

Fields

Methods

impl MspBuildInfo
[src]

[src]

Display formatter for console applications

Trait Implementations

impl PackedStruct<[u8; 26]> for MspBuildInfo
[src]

Structure that can be packed an unpacked into 26 bytes.

Bit, MSB0NameType
0:7date_str[0]u8
8:15date_str[1]u8
16:23date_str[2]u8
24:31date_str[3]u8
32:39date_str[4]u8
40:47date_str[5]u8
48:55date_str[6]u8
56:63date_str[7]u8
64:71date_str[8]u8
72:79date_str[9]u8
80:87date_str[10]u8
88:95time_str[0]u8
96:103time_str[1]u8
104:111time_str[2]u8
112:119time_str[3]u8
120:127time_str[4]u8
128:135time_str[5]u8
136:143time_str[6]u8
144:151time_str[7]u8
152:159git_str[0]u8
160:167git_str[1]u8
168:175git_str[2]u8
176:183git_str[3]u8
184:191git_str[4]u8
192:199git_str[5]u8
200:207git_str[6]u8

[src]

Packs the structure into a byte array.

[src]

Unpacks the structure from a byte array.

impl PackedStructInfo for MspBuildInfo
[src]

[src]

Number of bits that this structure occupies when being packed.

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

[src]

[src]

impl Display for MspBuildInfo
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for MspBuildInfo
[src]

[src]

Formats the value using the given formatter.

impl Copy for MspBuildInfo
[src]

impl Clone for MspBuildInfo
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more