pub struct CompressedObjInfo {
pub obj_num: u32,
pub objstm_num: u32,
pub index: u32,
}Expand description
Pack eligible objects into object streams for compact PDF 1.5+ output.
Returns a new list of objects where small non-stream objects have been packed into object stream containers, plus the remaining unpacked objects.
catalog_obj_num and pages_root_obj_num identify objects that must NOT
be packed (the catalog and pages tree root).
encrypt_obj_num optionally identifies the encryption dictionary, which
must also remain unpacked.
Information about compressed objects for xref stream generation.
Fields§
§obj_num: u32Object number of the compressed object.
objstm_num: u32Object number of the ObjStm that contains it.
index: u32Index of this object within the ObjStm.
Trait Implementations§
Source§impl Clone for CompressedObjInfo
impl Clone for CompressedObjInfo
Source§fn clone(&self) -> CompressedObjInfo
fn clone(&self) -> CompressedObjInfo
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 CompressedObjInfo
impl RefUnwindSafe for CompressedObjInfo
impl Send for CompressedObjInfo
impl Sync for CompressedObjInfo
impl Unpin for CompressedObjInfo
impl UnsafeUnpin for CompressedObjInfo
impl UnwindSafe for CompressedObjInfo
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