Struct comrak::nodes::Ast [] [src]

pub struct Ast {
    pub value: NodeValue,
    pub start_line: u32,
    pub start_column: usize,
    pub end_line: u32,
    pub end_column: usize,
    // some fields omitted
}

A single node in the CommonMark AST.

The struct contains metadata about the node's position in the original document, and the core enum, NodeValue.

Fields

The node value itself.

The line in the input document the node starts at.

The column in the input document the node starts at.

The line in the input document the node ends at.

The column in the input document the node ends at.

Trait Implementations

impl Debug for Ast
[src]

[src]

Formats the value using the given formatter.

impl Clone for Ast
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more