Enum ink::block_parser::Block [] [src]

pub enum Block {
    Heading {
        level: HeadingLevel,
        content: String,
    },
    Text {
        content: String,
    },
    FencedBlock {
        decorator: Option<String>,
        content: String,
    },
    List {
        list_type: ListType,
        items: Vec<String>,
    },
}

Variants

Fields of Heading

Fields of Text

Fields of FencedBlock

Fields of List

Trait Implementations

impl Debug for Block
[src]

[src]

Formats the value using the given formatter.

impl Eq for Block
[src]

impl PartialEq for Block
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.