pub struct PageTreeNode { /* private fields */ }Expand description
Intermediate page nodes, and the type of the Pages element in the document’s
Catalog.
From the PDF specification:
The simplest structure can consist of a single page tree node that references all of the document’s page objects directly. However, to optimise application performance, a PDF writer can construct trees of a particular form, known as balanced trees.
In Livre, the page tree is immediately transformed into a vector of Pages for simplicity.
Hence this type, along with other low-level types, are made public for reference only.
Implementations§
Source§impl PageTreeNode
impl PageTreeNode
Trait Implementations§
Source§impl Build for PageTreeNode
impl Build for PageTreeNode
Source§impl Clone for PageTreeNode
impl Clone for PageTreeNode
Source§fn clone(&self) -> PageTreeNode
fn clone(&self) -> PageTreeNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PageTreeNode
impl Debug for PageTreeNode
Source§impl<'de> FromRawDict<'de> for PageTreeNode
impl<'de> FromRawDict<'de> for PageTreeNode
Source§impl PartialEq for PageTreeNode
impl PartialEq for PageTreeNode
Source§fn eq(&self, other: &PageTreeNode) -> bool
fn eq(&self, other: &PageTreeNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PageTreeNode
Auto Trait Implementations§
impl Freeze for PageTreeNode
impl RefUnwindSafe for PageTreeNode
impl Send for PageTreeNode
impl Sync for PageTreeNode
impl Unpin for PageTreeNode
impl UnsafeUnpin for PageTreeNode
impl UnwindSafe for PageTreeNode
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