pub struct PageOffsetHintTable {
pub min_objects: u32,
pub first_page_offset: u64,
pub min_page_length: u32,
pub bits_objects_delta: u8,
pub bits_length_delta: u8,
pub entries: Vec<PageHintEntry>,
}Expand description
The page offset hint table (PDF spec Annex F.3).
Fields§
§min_objects: u32Minimum number of objects in a page.
first_page_offset: u64Location of first page’s object (offset from start of file).
min_page_length: u32Minimum page length in bytes.
bits_objects_delta: u8Number of bits needed to represent difference from min objects.
bits_length_delta: u8Number of bits needed to represent difference from min length.
entries: Vec<PageHintEntry>Per-page entries.
Trait Implementations§
Source§impl Clone for PageOffsetHintTable
impl Clone for PageOffsetHintTable
Source§fn clone(&self) -> PageOffsetHintTable
fn clone(&self) -> PageOffsetHintTable
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 PageOffsetHintTable
impl RefUnwindSafe for PageOffsetHintTable
impl Send for PageOffsetHintTable
impl Sync for PageOffsetHintTable
impl Unpin for PageOffsetHintTable
impl UnsafeUnpin for PageOffsetHintTable
impl UnwindSafe for PageOffsetHintTable
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