Struct comrak::nodes::NodeHeading [] [src]

pub struct NodeHeading {
    pub level: u32,
    pub setext: bool,
}

The metadata of a heading.

Fields

The level of the header; from 1 to 6 for ATX headings, 1 or 2 for setext headings.

Whether the heading is setext (if not, ATX).

Trait Implementations

impl Default for NodeHeading
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for NodeHeading
[src]

[src]

Formats the value using the given formatter.

impl Clone for NodeHeading
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for NodeHeading
[src]