Struct mediawiki_parser::Heading
[−]
[src]
pub struct Heading { pub position: Span, pub depth: usize, pub caption: Vec<Element>, pub content: Vec<Element>, }
Headings make a hierarchical document structure. Headings of higher depths have other headings as parents.
Fields
position: Span
depth: usize
content: Vec<Element>
Trait Implementations
impl Debug for Heading
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Heading
[src]
fn eq(&self, __arg_0: &Heading) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Heading) -> bool
[src]
This method tests for !=
.