#[repr(u8)]pub enum MarkdownInline {
Text {
value: String,
},
Emphasis {
content: Vec<Self>,
},
Strong {
content: Vec<Self>,
},
Code {
value: String,
},
Link {
destination: String,
content: Vec<Self>,
},
}Expand description
Inline Markdown content within a block.
Variants§
Text
Plain text.
Emphasis
Emphasized (*italic*) text.
Strong
Strong (**bold**) text.
Code
Inline code (`code`).
Link
A hyperlink.
Trait Implementations§
Source§impl Clone for MarkdownInline
impl Clone for MarkdownInline
Source§fn clone(&self) -> MarkdownInline
fn clone(&self) -> MarkdownInline
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MarkdownInline
impl Debug for MarkdownInline
impl Eq for MarkdownInline
Source§impl<'ʄ> Facet<'ʄ> for MarkdownInline
impl<'ʄ> Facet<'ʄ> for MarkdownInline
Source§impl PartialEq for MarkdownInline
impl PartialEq for MarkdownInline
impl StructuralPartialEq for MarkdownInline
Auto Trait Implementations§
impl Freeze for MarkdownInline
impl RefUnwindSafe for MarkdownInline
impl Send for MarkdownInline
impl Sync for MarkdownInline
impl Unpin for MarkdownInline
impl UnsafeUnpin for MarkdownInline
impl UnwindSafe for MarkdownInline
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.