pub struct ObjectInfo {
pub obj_ref: ObjectRef,
pub offset: u64,
pub length: u64,
pub referenced_by_pages: HashSet<usize>,
pub is_content_stream: bool,
pub is_page_object: bool,
}Expand description
Information about an object for linearization analysis.
Fields§
§obj_ref: ObjectRefObject reference (number and generation).
offset: u64Byte offset in the file.
length: u64Length in bytes.
referenced_by_pages: HashSet<usize>Pages that reference this object (empty for first page objects).
is_content_stream: boolWhether this is a content stream.
is_page_object: boolWhether this is a page object.
Trait Implementations§
Source§impl Clone for ObjectInfo
impl Clone for ObjectInfo
Source§fn clone(&self) -> ObjectInfo
fn clone(&self) -> ObjectInfo
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 ObjectInfo
impl RefUnwindSafe for ObjectInfo
impl Send for ObjectInfo
impl Sync for ObjectInfo
impl Unpin for ObjectInfo
impl UnwindSafe for ObjectInfo
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