pub enum Markdown {
Show 19 variants
Paragraph,
Heading(u8),
ThematicBreak,
CodeBlock {
language: String,
text: String,
},
Code(String),
Quote,
List {
start: Option<u64>,
},
Item,
Task(bool),
Table,
TableHead,
TableRow,
TableCell,
Emphasis,
Strong,
Strikethrough,
Link {
destination: String,
title: String,
image: bool,
},
SoftBreak,
HardBreak,
}Variants§
Paragraph
Heading(u8)
ThematicBreak
CodeBlock
Code(String)
Quote
List
Item
Task(bool)
Table
TableHead
TableRow
TableCell
Emphasis
Strong
Strikethrough
Link
An inert syntax address, not a validated or authorized navigation target.
SoftBreak
HardBreak
Trait Implementations§
impl Eq for Markdown
impl StructuralPartialEq for Markdown
Auto Trait Implementations§
impl Freeze for Markdown
impl RefUnwindSafe for Markdown
impl Send for Markdown
impl Sync for Markdown
impl Unpin for Markdown
impl UnsafeUnpin for Markdown
impl UnwindSafe for Markdown
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