Enum unidok_repr::ir::blocks::Block [−][src]
pub enum Block<'a> { CodeBlock(CodeBlock<'a>), Paragraph(Paragraph<'a>), Heading(Heading<'a>), Table(Table<'a>), ThematicBreak(ThematicBreak), List(List<'a>), Quote(Quote<'a>), BlockHtml(HtmlNode<'a>), Braces(Vec<AnnBlock<'a>>), Empty, }
Expand description
A block. This can be a container (list or blockquote) or a leaf block (code block, comment, heading, table, thematic break, block macro or paragraph).
Variants
CodeBlock(CodeBlock<'a>)
Paragraph(Paragraph<'a>)
Heading(Heading<'a>)
Table(Table<'a>)
ThematicBreak(ThematicBreak)
List(List<'a>)
Quote(Quote<'a>)
BlockHtml(HtmlNode<'a>)
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> UnwindSafe for Block<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more