pub struct PageOffsetHint {
pub offset: u64,
pub length: u64,
pub num_objects: u32,
}Expand description
Page offset hint table entry.
Each entry describes the location and size of a page’s objects within the linearized PDF body. Used by viewers to seek directly to a specific page.
Fields§
§offset: u64Byte offset of the page’s objects within the file.
length: u64Total byte length of the page’s objects.
num_objects: u32Number of objects belonging to this page.
Trait Implementations§
Source§impl Clone for PageOffsetHint
impl Clone for PageOffsetHint
Source§fn clone(&self) -> PageOffsetHint
fn clone(&self) -> PageOffsetHint
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 PageOffsetHint
impl RefUnwindSafe for PageOffsetHint
impl Send for PageOffsetHint
impl Sync for PageOffsetHint
impl Unpin for PageOffsetHint
impl UnsafeUnpin for PageOffsetHint
impl UnwindSafe for PageOffsetHint
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more