pub enum StructureKind {
Heading,
ListItem,
CodeBlock,
TableRow,
BlockQuote,
ThematicBreak,
RawBlock,
}Expand description
Structural kinds recognized for canonical assembly.
Variants§
Heading
Heading.
ListItem
List item boundary.
CodeBlock
Fenced code block.
TableRow
Table row.
BlockQuote
Block quote boundary.
ThematicBreak
Thematic break.
RawBlock
Declared raw block.
Trait Implementations§
Source§impl Clone for StructureKind
impl Clone for StructureKind
Source§fn clone(&self) -> StructureKind
fn clone(&self) -> StructureKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StructureKind
Source§impl Debug for StructureKind
impl Debug for StructureKind
Source§impl<'de> Deserialize<'de> for StructureKind
impl<'de> Deserialize<'de> for StructureKind
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
impl Eq for StructureKind
Source§impl PartialEq for StructureKind
impl PartialEq for StructureKind
Source§impl Serialize for StructureKind
impl Serialize for StructureKind
impl StructuralPartialEq for StructureKind
Auto Trait Implementations§
impl Freeze for StructureKind
impl RefUnwindSafe for StructureKind
impl Send for StructureKind
impl Sync for StructureKind
impl Unpin for StructureKind
impl UnsafeUnpin for StructureKind
impl UnwindSafe for StructureKind
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