pub struct XRef(/* private fields */);
Expand description
An xref table.
Implementations§
Source§impl XRef
impl XRef
Sourcepub fn root_id(&self) -> ObjectIdentifier
pub fn root_id(&self) -> ObjectIdentifier
Return the object ID of the root dictionary.
Sourcepub fn has_optional_content_groups(&self) -> bool
pub fn has_optional_content_groups(&self) -> bool
Whether the PDF has optional content groups.
Sourcepub fn get<'a, T>(&'a self, id: ObjectIdentifier) -> Option<T>where
T: ObjectLike<'a>,
pub fn get<'a, T>(&'a self, id: ObjectIdentifier) -> Option<T>where
T: ObjectLike<'a>,
Return the object with the given identifier.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XRef
impl !RefUnwindSafe for XRef
impl Send for XRef
impl Sync for XRef
impl Unpin for XRef
impl !UnwindSafe for XRef
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