pub enum KmmNodeKind {
Show 24 variants
Heading(HeadingNode),
Paragraph,
Text(TextSpan),
Strong(InlineSpan),
Emphasis(InlineSpan),
Strikethrough(InlineSpan),
InlineCode(InlineCodeNode),
InlineHtml(InlineHtmlNode),
Link(LinkNode),
Image(ImageNode),
FootnoteReference(FootnoteReferenceNode),
FootnoteDefinition(FootnoteDefinitionNode),
InlineMath(InlineMathNode),
DollarMathBlock(DollarMathBlockNode),
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
Text(TextSpan)
Strong(InlineSpan)
Emphasis(InlineSpan)
Strikethrough(InlineSpan)
InlineCode(InlineCodeNode)
InlineHtml(InlineHtmlNode)
Link(LinkNode)
Image(ImageNode)
FootnoteReference(FootnoteReferenceNode)
FootnoteDefinition(FootnoteDefinitionNode)
InlineMath(InlineMathNode)
DollarMathBlock(DollarMathBlockNode)
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 KmmNodeKind
impl Clone for KmmNodeKind
Source§fn clone(&self) -> KmmNodeKind
fn clone(&self) -> KmmNodeKind
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 KmmNodeKind
impl Debug for KmmNodeKind
Source§impl<'de> Deserialize<'de> for KmmNodeKind
impl<'de> Deserialize<'de> for KmmNodeKind
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 KmmNodeKind
impl PartialEq for KmmNodeKind
Source§fn eq(&self, other: &KmmNodeKind) -> bool
fn eq(&self, other: &KmmNodeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KmmNodeKind
impl Serialize for KmmNodeKind
impl Eq for KmmNodeKind
impl StructuralPartialEq for KmmNodeKind
Auto Trait Implementations§
impl Freeze for KmmNodeKind
impl RefUnwindSafe for KmmNodeKind
impl Send for KmmNodeKind
impl Sync for KmmNodeKind
impl Unpin for KmmNodeKind
impl UnsafeUnpin for KmmNodeKind
impl UnwindSafe for KmmNodeKind
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