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

The kind of list (bullet (unordered) or ordered).

For ordered lists, the ordinal the list starts at.

For ordered lists, the delimiter after each number.

For bullet lists, the character used for each bullet.

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]

Formats the value using the given formatter.

impl Default for NodeList
[src]

Returns the "default value" for a type. Read more

impl Clone for NodeList
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NodeList
[src]