notedown_ast 0.14.5

Notedown Abstract Syntax Tree
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::*;

#[derive(Clone, Debug, Default, Eq, PartialEq, Hash)]
pub struct OrderlessList {
    pub custom_style: Option<String>,
    pub children: Vec<ListItem>,
}

impl ListView {
    #[inline]
    pub fn orderless_list(children: Vec<ListItem>) -> Self {
        let list = OrderlessList { custom_style: None, children };
        Self::Orderless(box list)
    }
}