SimpleHeading

Type Alias SimpleHeading 

Source
pub type SimpleHeading = Heading<()>;
Expand description

Simple heading without user data (backward compatible)

Aliased Type§

pub struct SimpleHeading {
    pub kind: HeadingKind,
    pub content: Vec<Inline>,
    pub user_data: (),
}

Fields§

§kind: HeadingKind

Kind of heading (ATX or Setext) together with the level.

§content: Vec<Inline>

Inlines that form the heading text (before trimming).

§user_data: ()

User-defined data associated with this heading