pub struct IrHeader {
pub writer: [u16; 3],
pub body_len: u32,
pub crc: u32,
}Expand description
Validated FMIR v3 header (24 bytes).
Fields§
§writer: [u16; 3]Writer’s base semantic version.
body_len: u32Bytes after the header.
crc: u32CRC-32 of the file excluding bytes 18 through 21.
Implementations§
Trait Implementations§
impl Copy for IrHeader
impl Eq for IrHeader
impl StructuralPartialEq for IrHeader
Auto Trait Implementations§
impl Freeze for IrHeader
impl RefUnwindSafe for IrHeader
impl Send for IrHeader
impl Sync for IrHeader
impl Unpin for IrHeader
impl UnsafeUnpin for IrHeader
impl UnwindSafe for IrHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more