Struct comrak::nodes::NodeHeading
[−]
[src]
pub struct NodeHeading { pub level: u32, pub setext: bool, }
The metadata of a heading.
Fields
level: u32
The level of the header; from 1 to 6 for ATX headings, 1 or 2 for setext headings.
setext: bool
Whether the heading is setext (if not, ATX).
Trait Implementations
impl Default for NodeHeading
[src]
fn default() -> NodeHeading
[src]
Returns the "default value" for a type. Read more
impl Debug for NodeHeading
[src]
impl Clone for NodeHeading
[src]
fn clone(&self) -> NodeHeading
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more