[][src]Struct comrak::nodes::NodeList

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 Default for NodeList[src]

impl Copy for NodeList[src]

impl Clone for NodeList[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NodeList[src]

Auto Trait Implementations

impl Send for NodeList

impl Sync for NodeList

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]