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 ListItem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ListItem
[src]
impl PartialEq for ListItem
fn eq(&self, other: &ListItem) -> bool
[src]
fn eq(&self, other: &ListItem) -> bool
This 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) -> bool
This method tests for !=
.
impl Clone for ListItem
[src]
impl Clone for ListItem