pub struct LnmpContainerHeader {
pub version: u8,
pub mode: LnmpFileMode,
pub flags: u16,
pub metadata_len: u32,
}Expand description
Structured representation of the .lnmp header.
Fields§
§version: u8Header version.
mode: LnmpFileModeContainer mode.
flags: u16Flags written in big-endian order.
metadata_len: u32Length of metadata that follows the header (big-endian).
Implementations§
Trait Implementations§
Source§impl Clone for LnmpContainerHeader
impl Clone for LnmpContainerHeader
Source§fn clone(&self) -> LnmpContainerHeader
fn clone(&self) -> LnmpContainerHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LnmpContainerHeader
impl Debug for LnmpContainerHeader
Source§impl PartialEq for LnmpContainerHeader
impl PartialEq for LnmpContainerHeader
impl Copy for LnmpContainerHeader
impl Eq for LnmpContainerHeader
impl StructuralPartialEq for LnmpContainerHeader
Auto Trait Implementations§
impl Freeze for LnmpContainerHeader
impl RefUnwindSafe for LnmpContainerHeader
impl Send for LnmpContainerHeader
impl Sync for LnmpContainerHeader
impl Unpin for LnmpContainerHeader
impl UnwindSafe for LnmpContainerHeader
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