Enum notedown_parser::ASTKind[][src]

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

Variants

None
  • None: It doesn’t look like anything to me
Statements(Vec<T, Global>)

Top

Header(Box<Header, Global>)
  • Header: TEXT, level
HorizontalRule
Paragraph(Vec<T, Global>)
  • Paragraph:
CodeBlock(Box<CodeBlock, Global>)
MathBlock(Box<String, Global>)
  • Math:
TableView(Box<TableView<T>, Global>)
ListView(Box<ListView<T>, Global>)
Normal(Box<String, Global>)
  • Code:
Code(Box<String, Global>)

`code`

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

Trait Implementations

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

impl<T> Debug for ASTKind<T> where
    T: Debug
[src]

impl<T> Eq for ASTKind<T> where
    T: Eq
[src]

impl<T> PartialEq<ASTKind<T>> for ASTKind<T> where
    T: PartialEq<T>, 
[src]

impl<T> Slugify for ASTKind<T> where
    T: Debug
[src]

impl<T> StructuralEq for ASTKind<T>[src]

impl<T> StructuralPartialEq for ASTKind<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ASTKind<T> where
    T: RefUnwindSafe

impl<T> Send for ASTKind<T> where
    T: Send

impl<T> Sync for ASTKind<T> where
    T: Sync

impl<T> Unpin for ASTKind<T> where
    T: Unpin

impl<T> UnwindSafe for ASTKind<T> where
    T: UnwindSafe

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.