pub enum Inline {
Text(String),
SoftBreak,
HardBreak,
Code(String),
Strong(Vec<Inline>),
Emphasis(Vec<Inline>),
Strikethrough(Vec<Inline>),
Link {
text: Vec<Inline>,
url: String,
},
Image {
alt: String,
url: String,
},
Math(String, bool),
Html(String),
FootnoteRef(String),
}Variants§
Text(String)
SoftBreak
HardBreak
Code(String)
Strong(Vec<Inline>)
Emphasis(Vec<Inline>)
Strikethrough(Vec<Inline>)
Link
Image
Math(String, bool)
Math content; display == true for block math.
Html(String)
FootnoteRef(String)
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 UnsafeUnpin 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