pub struct AbstractSyntaxTree { /* private fields */ }
Expand description

An abstract syntax tree representation of a Markdown file.

This represents a Markdown file as an abstract syntax tree compatible with Pandoc’s AST. The document YAML metadata MUST be at the top or bottom of the file, excluding leading or trailing empty lines.

Implementations

Return a Pandoc-compatible AST.

Trait Implementations

Formats the value using the given formatter. Read more

Create an abstract syntax tree from a string.

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.