Struct mediawiki_parser::ListItem [−][src]
pub struct ListItem {
    pub position: Span,
    pub depth: usize,
    pub kind: ListItemKind,
    pub content: Vec<Element>,
}List item of a certain ListItemKind.
Fields
position: Span
                           
                           
                           
                           depth: usize
                           
                           
                           
                           kind: ListItemKind
                           
                           
                           
                           content: Vec<Element>
                           
                Trait Implementations
impl Debug for ListItem[src] 
impl Debug for ListItemfn fmt(&self, f: &mut Formatter) -> Result[src] 
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ListItem[src] 
impl PartialEq for ListItemfn eq(&self, other: &ListItem) -> bool[src] 
fn eq(&self, other: &ListItem) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ListItem) -> bool[src] 
fn ne(&self, other: &ListItem) -> boolThis method tests for !=.
impl Clone for ListItem[src] 
impl Clone for ListItem