pub struct PdfBookmark<'a> { /* private fields */ }

Implementations

Returns the title of this PdfBookmark, if any.

Returns the PdfAction associated with this PdfBookmark, if any.

The action indicates the behaviour that will occur when the user interacts with the bookmark in a PDF viewer. For most bookmarks, this will be a local navigation action of type PdfActionType::GoToDestinationInSameDocument, but the PDF file format supports a variety of other actions.

Returns this PdfBookmark object’s direct parent, if available.

Returns the first child PdfBookmark of this PdfBookmark in the containing PdfDocument, if any.

Returns the next PdfBookmark at the same tree level as this PdfBookmark in the containing PdfDocument, if any.

Returns an iterator over all PdfBookmark sibling nodes of this PdfBookmark.

Returns an iterator over all PdfBookmark child nodes of this PdfBookmark. Only direct children of this PdfBookmark will be traversed by the iterator; grandchildren, great-grandchildren and other descendant nodes will be ignored. To visit all child nodes, including children of children, use PdfBookmark::iter_all_descendants().

Returns an iterator over all PdfBookmark child nodes of this PdfBookmark, including any children of those nodes. To visit only direct children of this PdfBookmark, use PdfBookmark::iter_direct_children().

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.