pub struct Bookmark { /* private fields */ }Expand description
A PDF bookmark (outline item).
Implementations§
Source§impl Bookmark
impl Bookmark
Sourcepub fn destination(&self) -> Option<&PdfObject>
pub fn destination(&self) -> Option<&PdfObject>
Get the destination object (if any).
Sourcepub fn first_child(&self) -> Option<ObjectId>
pub fn first_child(&self) -> Option<ObjectId>
Get the first child bookmark ID.
Sourcepub fn has_children(&self) -> bool
pub fn has_children(&self) -> bool
Check if this bookmark has children.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bookmark
impl RefUnwindSafe for Bookmark
impl Send for Bookmark
impl Sync for Bookmark
impl Unpin for Bookmark
impl UnsafeUnpin for Bookmark
impl UnwindSafe for Bookmark
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