pub struct OutlineEntry {
pub depth: usize,
pub role: &'static str,
pub name: String,
}Expand description
One element in the structural outline.
Fields§
§depth: usizeNesting depth among painted elements (the document root is depth 0).
role: &'static strA coarse semantic role ("link", "heading", "paragraph", …).
name: StringThe element’s accessible name — its direct text content, trimmed.
Trait Implementations§
Source§impl Clone for OutlineEntry
impl Clone for OutlineEntry
Source§impl Debug for OutlineEntry
impl Debug for OutlineEntry
Source§impl PartialEq for OutlineEntry
impl PartialEq for OutlineEntry
impl StructuralPartialEq for OutlineEntry
Auto Trait Implementations§
impl Forget for OutlineEntry
impl Freeze for OutlineEntry
impl RefUnwindSafe for OutlineEntry
impl Send for OutlineEntry
impl Sync for OutlineEntry
impl Unpin for OutlineEntry
impl UnsafeUnpin for OutlineEntry
impl UnwindSafe for OutlineEntry
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