notedown_ast 0.14.9

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, Eq, PartialEq, Hash)]
pub struct ListItem {
    pub prefix: Literal<ListPrefixSymbol>,
    pub rest: ASTNodes,
}

impl From<ASTNodes> for ListItem {
    fn from(node: ASTNodes) -> Self {
        Self { prefix: Default::default(), rest: node }
    }
}

impl ListItem {}