#[non_exhaustive]pub enum DelimitedBlockType {
DelimitedComment(Vec<InlineNode>),
DelimitedExample(Vec<Block>),
DelimitedListing(Vec<InlineNode>),
DelimitedLiteral(Vec<InlineNode>),
DelimitedOpen(Vec<Block>),
DelimitedSidebar(Vec<Block>),
DelimitedTable(Table),
DelimitedPass(Vec<InlineNode>),
DelimitedQuote(Vec<Block>),
DelimitedVerse(Vec<InlineNode>),
DelimitedStem(StemContent),
}Expand description
A DelimitedBlockType represents the type of a delimited block in a document.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DelimitedComment(Vec<InlineNode>)
DelimitedExample(Vec<Block>)
DelimitedListing(Vec<InlineNode>)
DelimitedLiteral(Vec<InlineNode>)
DelimitedOpen(Vec<Block>)
DelimitedSidebar(Vec<Block>)
DelimitedTable(Table)
DelimitedPass(Vec<InlineNode>)
DelimitedQuote(Vec<Block>)
DelimitedVerse(Vec<InlineNode>)
DelimitedStem(StemContent)
Trait Implementations§
Source§impl Clone for DelimitedBlockType
impl Clone for DelimitedBlockType
Source§fn clone(&self) -> DelimitedBlockType
fn clone(&self) -> DelimitedBlockType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DelimitedBlockType
impl Debug for DelimitedBlockType
Source§impl<'de> Deserialize<'de> for DelimitedBlockType
impl<'de> Deserialize<'de> for DelimitedBlockType
Source§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
Source§impl PartialEq for DelimitedBlockType
impl PartialEq for DelimitedBlockType
Source§impl Serialize for DelimitedBlockType
impl Serialize for DelimitedBlockType
impl StructuralPartialEq for DelimitedBlockType
Auto Trait Implementations§
impl Freeze for DelimitedBlockType
impl RefUnwindSafe for DelimitedBlockType
impl Send for DelimitedBlockType
impl Sync for DelimitedBlockType
impl Unpin for DelimitedBlockType
impl UnwindSafe for DelimitedBlockType
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