Enum notedown_ast::ASTKind[][src]

pub enum ASTKind {
    None,
    Statements,
    Header(Box<Header>),
    HorizontalRule,
    Paragraph,
    CodeBlock(Box<CodeBlock>),
    MathBlock(Box<String>),
    TableView(Box<TableView>),
    ListView(Box<ListView>),
    Normal(Box<String>),
    Raw(Box<String>),
    Code(Box<String>),
    Italic,
    Bold,
    Emphasis,
    Underline,
    Strikethrough,
    Undercover,
    MathInline(Box<String>),
    MathDisplay(Box<String>),
    Link(Box<SmartLink>),
    Escaped(char),
    Command(Box<Command>),
    String(Box<String>),
    Number(Box<String>),
    Boolean(bool),
    Array,
    Object,
}

Variants

None
  • None: It doesn't look like anything to me
Statements
Header(Box<Header>)
  • Header: TEXT, level
HorizontalRule
Paragraph
  • Paragraph:
CodeBlock(Box<CodeBlock>)
MathBlock(Box<String>)
  • Math:
TableView(Box<TableView>)
ListView(Box<ListView>)
Normal(Box<String>)
  • Code:
Raw(Box<String>)
Code(Box<String>)

`code`

Italic
Bold
Emphasis
Underline
Strikethrough
Undercover
MathInline(Box<String>)
MathDisplay(Box<String>)
Escaped(char)
Command(Box<Command>)
String(Box<String>)
Number(Box<String>)
Boolean(bool)
Array
Object

Trait Implementations

impl Clone for ASTKind[src]

impl Debug for ASTKind[src]

impl Eq for ASTKind[src]

impl PartialEq<ASTKind> for ASTKind[src]

impl Slugify for ASTKind[src]

impl StructuralEq for ASTKind[src]

impl StructuralPartialEq for ASTKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.