pub struct HeadingEntry {
pub node: NodeId,
pub level: u8,
pub text: String,
pub anchor: String,
}Expand description
A heading’s stable node ID, plain text and unique HTML anchor.
Fields§
§node: NodeIdHeading node.
level: u8Heading level.
text: StringSemantic plain text.
anchor: StringAnchor shared with the HTML writer’s heading IDs.
Trait Implementations§
Source§impl Clone for HeadingEntry
impl Clone for HeadingEntry
Source§impl Debug for HeadingEntry
impl Debug for HeadingEntry
impl Eq for HeadingEntry
Source§impl PartialEq for HeadingEntry
impl PartialEq for HeadingEntry
impl StructuralPartialEq for HeadingEntry
Auto Trait Implementations§
impl Freeze for HeadingEntry
impl RefUnwindSafe for HeadingEntry
impl Send for HeadingEntry
impl Sync for HeadingEntry
impl Unpin for HeadingEntry
impl UnsafeUnpin for HeadingEntry
impl UnwindSafe for HeadingEntry
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