pub struct OutlineNode {
pub level: u32,
pub text: String,
pub children: Vec<OutlineNode>,
}Expand description
A node in the document outline tree.
Fields§
§level: u32The heading level (1-9).
text: StringThe heading text.
children: Vec<OutlineNode>Child headings (sub-headings).
Trait Implementations§
Source§impl Clone for OutlineNode
impl Clone for OutlineNode
Source§fn clone(&self) -> OutlineNode
fn clone(&self) -> OutlineNode
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 moreSource§impl Debug for OutlineNode
impl Debug for OutlineNode
Source§impl PartialEq for OutlineNode
impl PartialEq for OutlineNode
impl StructuralPartialEq for OutlineNode
Auto Trait Implementations§
impl Freeze for OutlineNode
impl RefUnwindSafe for OutlineNode
impl Send for OutlineNode
impl Sync for OutlineNode
impl Unpin for OutlineNode
impl UnsafeUnpin for OutlineNode
impl UnwindSafe for OutlineNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.