pub enum Inline {
}
Variants§
Text(String)
Plain text (decoded entity references, preserved backslash escapes).
LineBreak
Hard line break
Code(String)
Inline code span
Html(String)
Raw HTML fragment
Link(Link)
Link to a destination with optional title.
LinkReference(LinkReference)
Reference link
Image(Link)
Image with optional title.
Emphasis(Vec<Inline>)
Emphasis (*
/ _
)
Strong(Vec<Inline>)
Strong emphasis (**
/ __
)
Strikethrough(Vec<Inline>)
Strikethrough (~~
)
Autolink(String)
Autolink (<http://>
or <mailto:…>
)
FootnoteReference(String)
Footnote reference ([^label]
)
Empty
Empty element. This is used to represent skipped elements in the AST.
Trait Implementations§
impl StructuralPartialEq for Inline
Auto Trait Implementations§
impl Freeze for Inline
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnwindSafe for Inline
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