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 }
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for NodeList
impl UnwindSafe for NodeList
Blanket Implementations
Mutably borrows from an owned value. Read more