pub enum MDStyle {
Show 34 variants
Heading1 = 0,
Heading2 = 1,
Heading3 = 2,
Heading4 = 3,
Heading5 = 4,
Heading6 = 5,
Paragraph = 6,
BlockQuote = 7,
CodeBlock = 8,
MathDisplay = 9,
Rule = 10,
Html = 11,
Link = 12,
LinkDef = 13,
Image = 14,
FootnoteDefinition = 15,
FootnoteReference = 16,
List = 17,
Item = 18,
TaskListMarker = 19,
ItemTag = 20,
DefinitionList = 21,
DefinitionListTitle = 22,
DefinitionListDefinition = 23,
Table = 24,
TableHead = 25,
TableRow = 26,
TableCell = 27,
Emphasis = 28,
Strong = 29,
Strikethrough = 30,
CodeInline = 31,
MathInline = 32,
MetadataBlock = 33,
}Expand description
Markdown styles.
Variants§
Heading1 = 0
Heading2 = 1
Heading3 = 2
Heading4 = 3
Heading5 = 4
Heading6 = 5
Paragraph = 6
BlockQuote = 7
CodeBlock = 8
MathDisplay = 9
Rule = 10
Html = 11
Link = 12
LinkDef = 13
Image = 14
FootnoteDefinition = 15
FootnoteReference = 16
List = 17
Item = 18
TaskListMarker = 19
ItemTag = 20
DefinitionList = 21
DefinitionListTitle = 22
DefinitionListDefinition = 23
Table = 24
TableHead = 25
TableRow = 26
TableCell = 27
Emphasis = 28
Strong = 29
Strikethrough = 30
CodeInline = 31
MathInline = 32
MetadataBlock = 33
Trait Implementations§
impl Copy for MDStyle
impl Eq for MDStyle
impl StructuralPartialEq for MDStyle
Auto Trait Implementations§
impl Freeze for MDStyle
impl RefUnwindSafe for MDStyle
impl Send for MDStyle
impl Sync for MDStyle
impl Unpin for MDStyle
impl UnwindSafe for MDStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more