pub enum MsMarkdownToken {
Metadata(MsMdMetadata),
Comment(String),
Heading {
level: u8,
text: String,
},
Code(Code),
Table(MdTable),
LineBreak,
TextBlock {
indent: u8,
content: String,
},
Row(Vec<MsMdColumn>),
Alert {
indent: u8,
content: String,
alert_type: AlertType,
},
Quote {
indent: u8,
content: String,
},
List(Vec<MdListItem>),
HorizontalLine,
}
Variants§
Metadata(MsMdMetadata)
Comment(String)
Heading
Code(Code)
Table(MdTable)
LineBreak
TextBlock
Row(Vec<MsMdColumn>)
Alert
Quote
List(Vec<MdListItem>)
HorizontalLine
Trait Implementations§
source§impl Clone for MsMarkdownToken
impl Clone for MsMarkdownToken
source§fn clone(&self) -> MsMarkdownToken
fn clone(&self) -> MsMarkdownToken
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MsMarkdownToken
impl Debug for MsMarkdownToken
source§impl PartialEq<MsMarkdownToken> for MsMarkdownToken
impl PartialEq<MsMarkdownToken> for MsMarkdownToken
source§fn eq(&self, other: &MsMarkdownToken) -> bool
fn eq(&self, other: &MsMarkdownToken) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.