Struct comrak::nodes::NodeList
[−]
[src]
pub struct NodeList { pub list_type: ListType, pub start: usize, pub delimiter: ListDelimType, pub bullet_char: u8, pub tight: bool, // some fields omitted }
The metadata of a list; the kind of list, the delimiter used and so on.
Fields
list_type: ListType
The kind of list (bullet (unordered) or ordered).
start: usize
For ordered lists, the ordinal the list starts at.
delimiter: ListDelimType
For ordered lists, the delimiter after each number.
bullet_char: u8
For bullet lists, the character used for each bullet.
tight: bool
Whether the list is tight, i.e. whether the
paragraphs are wrapped in <p>
tags when formatted as HTML.
Trait Implementations
impl Debug for NodeList
[src]
impl Default for NodeList
[src]
impl Clone for NodeList
[src]
fn clone(&self) -> NodeList
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