Enum mediawiki_parser::MarkupType [−][src]
pub enum MarkupType { NoWiki, Bold, Italic, Math, StrikeThrough, Underline, Code, Blockquote, Preformatted, }
Types of markup a section of text may have.
Variants
NoWiki
Bold
Italic
Math
StrikeThrough
Underline
Code
Blockquote
Preformatted
Methods
impl MarkupType
[src]
impl MarkupType
pub fn by_tag_name(tag: &str) -> MarkupType
[src]
pub fn by_tag_name(tag: &str) -> MarkupType
Match an HTML tag name to it's markup type.
Trait Implementations
impl Debug for MarkupType
[src]
impl Debug for MarkupType
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 MarkupType
[src]
impl PartialEq for MarkupType
fn eq(&self, other: &MarkupType) -> bool
[src]
fn eq(&self, other: &MarkupType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for MarkupType
[src]
impl Clone for MarkupType
fn clone(&self) -> MarkupType
[src]
fn clone(&self) -> MarkupType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MarkupType
[src]
impl Copy for MarkupType
Auto Trait Implementations
impl Send for MarkupType
impl Send for MarkupType
impl Sync for MarkupType
impl Sync for MarkupType