//! A heading of the expanded tree (spec §12.3): at its computed depth, with its anchor.
usesuper::Node;useserde::Serialize;/// A heading of the expanded tree: at its computed depth (spec §7.2), with the anchor a link reaches it by (spec
/// §12.3).
#[derive(Clone, Debug, PartialEq, Serialize)]pubstructHeading{/// The level, 1 to 6, computed: a heading of a body with relative headings is below the heading its invocation
/// is under.
pubdepth:u8,
/// The name a link reaches it by: GitHub's for its expanded text, with `-1`, `-2`, … for a repeat in its root.
pubanchor: String,
/// The heading's text, expanded.
pubchildren:Vec<Node>,
}