pub enum Block {
Show 27 variants
Paragraph(Vec<Inline>),
Section(Section),
BulletList(BulletList),
EnumList(EnumList),
DefinitionList(Vec<DefItem>),
FieldList(Vec<Field>),
BlockQuote(BlockQuote),
LiteralBlock(LiteralBlock),
LineBlock(Vec<LineRow>),
Table(Table),
Admonition(Admonition),
Topic(Topic),
Rubric(Vec<Inline>),
Comment(String),
HyperlinkTarget(HyperlinkTarget),
Footnote(Footnote),
Citation(Citation),
SubstitutionDef(SubstitutionDef),
Transition,
SystemMessage(SystemMessage),
Raw(Raw),
Image(Image),
Figure(Figure),
PendingContents {
depth: Option<u32>,
title: Option<Vec<Inline>>,
},
ParsedLiteral(Vec<Vec<Inline>>),
Container(Container),
OptionList(Vec<OptGroup>),
}Expand description
Block-level elements.
Variants§
Paragraph(Vec<Inline>)
Section(Section)
BulletList(BulletList)
EnumList(EnumList)
DefinitionList(Vec<DefItem>)
FieldList(Vec<Field>)
BlockQuote(BlockQuote)
LiteralBlock(LiteralBlock)
LineBlock(Vec<LineRow>)
Table(Table)
Admonition(Admonition)
Topic(Topic)
Rubric(Vec<Inline>)
Comment(String)
HyperlinkTarget(HyperlinkTarget)
Footnote(Footnote)
Citation(Citation)
SubstitutionDef(SubstitutionDef)
Transition
SystemMessage(SystemMessage)
Raw(Raw)
Image(Image)
Figure(Figure)
PendingContents
.. contents:: before the Contents transform expands it.
ParsedLiteral(Vec<Vec<Inline>>)
.. parsed-literal::: literal block with inline markup.
Container(Container)
.. container:: / .. class:: wrapper carrying CSS classes.
OptionList(Vec<OptGroup>)
Option list (-f, --flag description).
Trait Implementations§
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Freeze for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more