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]
impl Debug for Heading
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 Heading
[src]
impl PartialEq for Heading
fn eq(&self, other: &Heading) -> bool
[src]
fn eq(&self, other: &Heading) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Heading) -> bool
[src]
fn ne(&self, other: &Heading) -> bool
This method tests for !=
.
impl Clone for Heading
[src]
impl Clone for Heading