#[repr(C)]
pub struct FirmwareVersion {
pub major: u8,
pub minor: u8,
pub micro: u8,
pub padding1: u8,
pub revision_major: u8,
pub revision_minor: u8,
pub padding2: u8,
pub padding3: u8,
pub platform: [u8; 32],
pub version_hash: [u8; 64],
pub display_version: [u8; 24],
pub display_title: [u8; 128],
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.