Struct mediawiki_parser::Formatted [−][src]
pub struct Formatted { pub position: Span, pub markup: MarkupType, pub content: Vec<Element>, }
A formatting wrapper, usually around text.
Fields
position: Span
markup: MarkupType
content: Vec<Element>
Trait Implementations
impl Debug for Formatted
[src]
impl Debug for Formatted
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 Formatted
[src]
impl PartialEq for Formatted
fn eq(&self, other: &Formatted) -> bool
[src]
fn eq(&self, other: &Formatted) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Formatted) -> bool
[src]
fn ne(&self, other: &Formatted) -> bool
This method tests for !=
.
impl Clone for Formatted
[src]
impl Clone for Formatted