pub struct StructTree {
pub children: Vec<StructElem>,
pub marked: bool,
}Expand description
The document’s logical structure tree (/StructTreeRoot). Present only when
the catalog declares one.
Fields§
§children: Vec<StructElem>The top-level structure elements (the root’s /K).
marked: bool/MarkInfo /Marked true — the document declares Tagged-PDF conformance.
Implementations§
Source§impl StructTree
impl StructTree
Sourcepub fn element_count(&self) -> usize
pub fn element_count(&self) -> usize
Total number of structure elements in the tree (all nesting levels).
Trait Implementations§
Source§impl Clone for StructTree
impl Clone for StructTree
Source§fn clone(&self) -> StructTree
fn clone(&self) -> StructTree
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 StructTree
impl Debug for StructTree
impl Eq for StructTree
Source§impl PartialEq for StructTree
impl PartialEq for StructTree
impl StructuralPartialEq for StructTree
Auto Trait Implementations§
impl Freeze for StructTree
impl RefUnwindSafe for StructTree
impl Send for StructTree
impl Sync for StructTree
impl Unpin for StructTree
impl UnsafeUnpin for StructTree
impl UnwindSafe for StructTree
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