Struct comrak::nodes::NodeHeading [−][src]
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]
impl Default for NodeHeading
fn default() -> NodeHeading
[src]
fn default() -> NodeHeading
Returns the "default value" for a type. Read more
impl Debug for NodeHeading
[src]
impl Debug for NodeHeading
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NodeHeading
[src]
impl Clone for NodeHeading
fn clone(&self) -> NodeHeading
[src]
fn clone(&self) -> NodeHeading
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for NodeHeading
[src]
impl Copy for NodeHeading
Auto Trait Implementations
impl Send for NodeHeading
impl Send for NodeHeading
impl Sync for NodeHeading
impl Sync for NodeHeading