pub struct Header {
pub offset: u64,
pub version: Version,
}Expand description
A located file header.
Fields§
§offset: u64Byte offset of the % that starts the header. Non-zero means there is
junk before it; byte offsets inside the file (the xref, startxref)
are usually relative to this point in such files.
version: VersionThe version the header declares. It may be unknown (see
Version::is_known); the catalog’s /Version can also override it.
Implementations§
Trait Implementations§
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin 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