pub struct Preamble {
pub version: u8,
pub flags: u8,
pub header_area: u32,
}Expand description
The 16-byte binary preamble.
Fields§
§version: u8Container format version.
flags: u8Bit 0: data compressed.
header_area: u32The header zone size in bytes.
Implementations§
Trait Implementations§
impl Copy for Preamble
impl Eq for Preamble
impl StructuralPartialEq for Preamble
Auto Trait Implementations§
impl Freeze for Preamble
impl RefUnwindSafe for Preamble
impl Send for Preamble
impl Sync for Preamble
impl Unpin for Preamble
impl UnsafeUnpin for Preamble
impl UnwindSafe for Preamble
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