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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ListItem
[src]
fn eq(&self, __arg_0: &ListItem) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ListItem) -> bool
[src]
This method tests for !=
.