pub struct LinearizationParams {
pub file_length: i64,
pub hint_offset: i64,
pub hint_length: i64,
pub first_page_obj_num: u32,
pub end_of_first_page: i64,
pub page_count: i64,
pub main_xref_offset: i64,
pub version: f64,
}Expand description
Linearization parameters from the linearization dictionary.
Fields§
§file_length: i64File length (/L).
hint_offset: i64Hint stream offset (/H first element).
hint_length: i64Hint stream length (/H second element).
first_page_obj_num: u32First page object number (/O).
end_of_first_page: i64Offset of end of first page (/E).
page_count: i64Number of pages (/N).
main_xref_offset: i64Offset of main xref table (/T).
version: f64Linearization version, typically 1.0.
Trait Implementations§
Source§impl Clone for LinearizationParams
impl Clone for LinearizationParams
Source§fn clone(&self) -> LinearizationParams
fn clone(&self) -> LinearizationParams
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 LinearizationParams
impl RefUnwindSafe for LinearizationParams
impl Send for LinearizationParams
impl Sync for LinearizationParams
impl Unpin for LinearizationParams
impl UnsafeUnpin for LinearizationParams
impl UnwindSafe for LinearizationParams
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