pub enum KmeNodeKind {
Heading(HeadingNode),
Paragraph,
Emoji(EmojiNode),
HtmlBlock(HtmlBlockRole),
List(ListNode),
CodeBlock(CodeBlockRole),
Table(TableNode),
BlockQuote,
Alert {
label: String,
},
DescriptionList {
items: Vec<DescriptionItem>,
},
ThematicBreak,
RawBlock {
reason: String,
},
}Variants§
Heading(HeadingNode)
Paragraph
Emoji(EmojiNode)
HtmlBlock(HtmlBlockRole)
List(ListNode)
CodeBlock(CodeBlockRole)
Table(TableNode)
BlockQuote
Alert
DescriptionList
Fields
§
items: Vec<DescriptionItem>ThematicBreak
RawBlock
Implementations§
Trait Implementations§
Source§impl Clone for KmeNodeKind
impl Clone for KmeNodeKind
Source§fn clone(&self) -> KmeNodeKind
fn clone(&self) -> KmeNodeKind
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 moreSource§impl Debug for KmeNodeKind
impl Debug for KmeNodeKind
Source§impl<'de> Deserialize<'de> for KmeNodeKind
impl<'de> Deserialize<'de> for KmeNodeKind
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 KmeNodeKind
impl PartialEq for KmeNodeKind
Source§fn eq(&self, other: &KmeNodeKind) -> bool
fn eq(&self, other: &KmeNodeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KmeNodeKind
impl Serialize for KmeNodeKind
impl Eq for KmeNodeKind
impl StructuralPartialEq for KmeNodeKind
Auto Trait Implementations§
impl Freeze for KmeNodeKind
impl RefUnwindSafe for KmeNodeKind
impl Send for KmeNodeKind
impl Sync for KmeNodeKind
impl Unpin for KmeNodeKind
impl UnsafeUnpin for KmeNodeKind
impl UnwindSafe for KmeNodeKind
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