pub enum PageTreeNode {
Pages {
kids: Vec<ObjectId>,
count: u32,
media_box: Option<Rectangle>,
resources: Option<Dictionary>,
parent: Option<ObjectId>,
},
Page {
page: Page,
parent: ObjectId,
},
}Expand description
Page tree node type
Variants§
Pages
Pages node (intermediate node)
Fields
§
resources: Option<Dictionary>Resources inherited by children
Page
Page node (leaf node)
Trait Implementations§
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 · 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 PageTreeNode
impl RefUnwindSafe for PageTreeNode
impl Send for PageTreeNode
impl Sync for PageTreeNode
impl Unpin 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