#[non_exhaustive]pub struct Header {
pub signature: [u8; 8],
pub major: u32,
pub minor: u32,
pub phys_length: u64,
pub phys_xml_offset: u64,
pub xml_length: u64,
pub page_size: u64,
}Expand description
Represents the file structure from the start of an E57 file.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.signature: [u8; 8]File header signature that must be always “ASTM-E57”.
major: u32Major version number of the E57 format of the file.
minor: u32Minor version number of the E57 format of the file.
phys_length: u64Physical length of the E57 file on disk or in memory.
phys_xml_offset: u64Physical offset of the XML data inside the XML file.
xml_length: u64Logical (without CRC bytes) length of the XML data.
page_size: u64Page size of the E57 file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)