pub enum Block {
Show 13 variants
Paragraph(Paragraph),
Heading(Heading),
BlockQuote(BlockQuote),
Admonition(Admonition),
List(List),
IndentedCodeBlock(IndentedCodeBlock),
CodeBlock(CodeBlock),
MathBlock(MathBlock),
FootnoteDefinition(FootnoteDefinition),
Table(Table),
ThematicBreak(ThematicBreak),
Interpolation(Interpolation),
Other(SyntaxNode),
}Expand description
A top-level documentation block.
Variants§
Paragraph(Paragraph)
Heading(Heading)
BlockQuote(BlockQuote)
Admonition(Admonition)
List(List)
IndentedCodeBlock(IndentedCodeBlock)
CodeBlock(CodeBlock)
MathBlock(MathBlock)
FootnoteDefinition(FootnoteDefinition)
Table(Table)
ThematicBreak(ThematicBreak)
Interpolation(Interpolation)
Other(SyntaxNode)
A recoverable or future block kind not yet covered by a typed wrapper.
Implementations§
Trait Implementations§
impl Eq for Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl !RefUnwindSafe for Block
impl !Send for Block
impl !Sync for Block
impl !UnwindSafe for Block
impl Forget for Block
impl Freeze for Block
impl Move for Block
impl Unpin for Block
impl UnsafeUnpin 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