Enum stencila_schema::BlockContent [−][src]
pub enum BlockContent {
Show 13 variants
Claim(ClaimSimple),
CodeBlock(CodeBlock),
CodeChunk(CodeChunk),
Collection(CollectionSimple),
Figure(FigureSimple),
Heading(Heading),
Include(Include),
List(List),
MathBlock(MathBlock),
Paragraph(Paragraph),
QuoteBlock(QuoteBlock),
Table(TableSimple),
ThematicBreak(ThematicBreak),
}
Expand description
Union type for valid block content.
Variants
Claim(ClaimSimple)
Tuple Fields of Claim
0: ClaimSimple
CodeBlock(CodeBlock)
Tuple Fields of CodeBlock
0: CodeBlock
CodeChunk(CodeChunk)
Tuple Fields of CodeChunk
0: CodeChunk
Collection(CollectionSimple)
Tuple Fields of Collection
Figure(FigureSimple)
Tuple Fields of Figure
0: FigureSimple
Heading(Heading)
Tuple Fields of Heading
0: Heading
Include(Include)
Tuple Fields of Include
0: Include
List(List)
Tuple Fields of List
0: List
MathBlock(MathBlock)
Tuple Fields of MathBlock
0: MathBlock
Paragraph(Paragraph)
Tuple Fields of Paragraph
0: Paragraph
QuoteBlock(QuoteBlock)
Tuple Fields of QuoteBlock
0: QuoteBlock
Table(TableSimple)
Tuple Fields of Table
0: TableSimple
ThematicBreak(ThematicBreak)
Tuple Fields of ThematicBreak
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BlockContent
impl Send for BlockContent
impl Sync for BlockContent
impl Unpin for BlockContent
impl UnwindSafe for BlockContent
Blanket Implementations
Mutably borrows from an owned value. Read more