Enum comrak::NodeValue
[−]
[src]
pub enum NodeValue { Document, BlockQuote, List(NodeList), Item(NodeList), CodeBlock(NodeCodeBlock), HtmlBlock(NodeHtmlBlock), CustomBlock, Paragraph, Heading(NodeHeading), ThematicBreak, Table(Vec<TableAlignment>), TableRow(bool), TableCell, Text(String), SoftBreak, LineBreak, Code(String), HtmlInline(String), CustomInline, Emph, Strong, Strikethrough, Link(NodeLink), Image(NodeLink), }
Variants
Document
BlockQuote
List(NodeList)
Item(NodeList)
CodeBlock(NodeCodeBlock)
HtmlBlock(NodeHtmlBlock)
CustomBlock
Paragraph
Heading(NodeHeading)
ThematicBreak
Table(Vec<TableAlignment>)
TableRow(bool)
TableCell
Text(String)
SoftBreak
LineBreak
Code(String)
HtmlInline(String)
CustomInline
Emph
Strong
Strikethrough
Link(NodeLink)
Image(NodeLink)
Methods
impl NodeValue
[src]
fn block(&self) -> bool
fn accepts_lines(&self) -> bool
fn contains_inlines(&self) -> bool
fn text(&mut self) -> Option<&mut String>
Trait Implementations
impl Debug for NodeValue
[src]
impl Clone for NodeValue
[src]
fn clone(&self) -> NodeValue
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more