[][src]Enum notedown::NotedownAST

pub enum NotedownAST {
    None,
    Statements(Vec<AST>),
    Header(Box<AST>, u8HashMap<String, String>),
    String(String),
    Bold(Box<AST>),
    Italic(Box<AST>),
    Underline(Box<AST>),
    Font(Box<AST>, HashMap<String, String>),
    Math(StringHashMap<String, String>),
    Code(StringHashMap<String, String>),
    Text(Box<AST>),
    Word(String),
    Punctuation(String),
    Newline,
    Paragraph(Box<AST>),
    Function(StringVec<AST>, HashMap<String, String>),
}

Variants

None
  • None: It doesn't look like anything to me
Statements(Vec<AST>)Header(Box<AST>, u8HashMap<String, String>)
  • Header: TEXT, level, args
String(String)
  • String: Normal string with no style
Bold(Box<AST>)
  • Bold:
Italic(Box<AST>)
  • Italic:
Underline(Box<AST>)
  • Underline:
Font(Box<AST>, HashMap<String, String>)
  • Font:
Math(StringHashMap<String, String>)
  • Math:
Code(StringHashMap<String, String>)
  • Code:
Text(Box<AST>)
  • Text: For inline style
Word(String)
Punctuation(String)NewlineParagraph(Box<AST>)
  • Paragraph:
Function(StringVec<AST>, HashMap<String, String>)
  • Function: input, args, kvs

Trait Implementations

impl ToHTML for AST[src]

impl Clone for AST[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'_> From<&'_ str> for AST[src]

impl PartialEq<AST> for AST[src]

impl Display for AST[src]

impl Debug for AST[src]

Auto Trait Implementations

impl Sync for AST

impl Send for AST

impl Unpin for AST

impl RefUnwindSafe for AST

impl UnwindSafe for AST

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.

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

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

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