pub enum Element<'i> {
Show 24 variants
Text(TextElement<'i>),
Comment(CommentElement<'i>),
Escape(EscapeElement<'i>),
Error(ErrorElement<'i>),
Link(LinkElement<'i>),
InlineCode(InlineCodeElement<'i>),
TeX(TeXElement<'i>),
Bold(TextStyleElement<'i>),
Italic(TextStyleElement<'i>),
Strikethrough(TextStyleElement<'i>),
Underline(TextStyleElement<'i>),
Superscript(TextStyleElement<'i>),
Subscript(TextStyleElement<'i>),
SoftBreak(SoftBreakElement),
HardBreak(HardBreakElement),
Heading(HeadingElement<'i>),
BlockQuote(BlockQuoteElement<'i>),
List(ListElement<'i>),
HLine(HLineElement<'i>),
CodeBlock(CodeBlockElement<'i>),
Table(TableElement<'i>),
TableRow(TableRowElement<'i>),
TableColumn(TableColumnElement<'i>),
ParagraphBreak(ParagraphBreakElement),
}Variants§
Text(TextElement<'i>)
Comment(CommentElement<'i>)
Escape(EscapeElement<'i>)
Error(ErrorElement<'i>)
Link(LinkElement<'i>)
InlineCode(InlineCodeElement<'i>)
TeX(TeXElement<'i>)
Bold(TextStyleElement<'i>)
Italic(TextStyleElement<'i>)
Strikethrough(TextStyleElement<'i>)
Underline(TextStyleElement<'i>)
Superscript(TextStyleElement<'i>)
Subscript(TextStyleElement<'i>)
SoftBreak(SoftBreakElement)
HardBreak(HardBreakElement)
Heading(HeadingElement<'i>)
BlockQuote(BlockQuoteElement<'i>)
List(ListElement<'i>)
HLine(HLineElement<'i>)
CodeBlock(CodeBlockElement<'i>)
Table(TableElement<'i>)
TableRow(TableRowElement<'i>)
TableColumn(TableColumnElement<'i>)
ParagraphBreak(ParagraphBreakElement)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'i> Freeze for Element<'i>
impl<'i> RefUnwindSafe for Element<'i>
impl<'i> Send for Element<'i>
impl<'i> Sync for Element<'i>
impl<'i> Unpin for Element<'i>
impl<'i> UnsafeUnpin for Element<'i>
impl<'i> UnwindSafe for Element<'i>
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