pub struct LinearizedInfo {
pub file_length: u64,
pub primary_page: u32,
pub page_count: u32,
pub first_page_offset: u64,
pub hint_stream_offset: Option<u64>,
pub hint_stream_length: Option<u32>,
}Expand description
Information extracted from a linearization dictionary.
Fields§
§file_length: u64Total file length in bytes (/L).
primary_page: u32Primary page number (/P), typically 0.
page_count: u32Total page count (/N).
first_page_offset: u64Byte offset of the first page’s data (/O).
hint_stream_offset: Option<u64>Byte offset of the hint stream (/H array, first element).
hint_stream_length: Option<u32>Length of the hint stream in bytes (/H array, second element).
Trait Implementations§
Source§impl Clone for LinearizedInfo
impl Clone for LinearizedInfo
Source§fn clone(&self) -> LinearizedInfo
fn clone(&self) -> LinearizedInfo
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 moreAuto Trait Implementations§
impl Freeze for LinearizedInfo
impl RefUnwindSafe for LinearizedInfo
impl Send for LinearizedInfo
impl Sync for LinearizedInfo
impl Unpin for LinearizedInfo
impl UnsafeUnpin for LinearizedInfo
impl UnwindSafe for LinearizedInfo
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