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
Tuple Fields of Claim
0: ClaimSimple
Tuple Fields of CodeBlock
0: CodeBlock
Tuple Fields of CodeChunk
0: CodeChunk
Tuple Fields of Collection
Tuple Fields of Figure
0: FigureSimple
Tuple Fields of Heading
0: Heading
Tuple Fields of Include
0: Include
Tuple Fields of List
0: List
Tuple Fields of MathBlock
0: MathBlock
Tuple Fields of Paragraph
0: Paragraph
Tuple Fields of QuoteBlock
0: QuoteBlock
Tuple Fields of Table
0: TableSimple
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