pub enum InlineElement {
Text(String),
Em(Em),
Bo(Bo),
Un(Un),
St(St),
Snip(Snip),
Key(Key),
Rf(Rf),
Tg(Tg),
Lk(Lk),
Curr(Curr),
End(End),
}Expand description
Inline-level elements and text
Variants§
Text(String)
Plain text
Em(Em)
Emphasis (italic)
Bo(Bo)
Bold/strong
Un(Un)
Underline
St(St)
Strikethrough
Snip(Snip)
Inline code snippet
Key(Key)
Keyboard input notation
Rf(Rf)
Internal reference (pathless identifier)
Tg(Tg)
Topic tag
Lk(Lk)
External link
Curr(Curr)
Currency value
End(End)
Inline break
Trait Implementations§
Source§impl Clone for InlineElement
impl Clone for InlineElement
Source§fn clone(&self) -> InlineElement
fn clone(&self) -> InlineElement
Returns a duplicate of the value. Read more
1.0.0 · 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 InlineElement
impl Debug for InlineElement
Source§impl<'de> Deserialize<'de> for InlineElement
impl<'de> Deserialize<'de> for InlineElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InlineElement
impl PartialEq for InlineElement
Source§impl Serialize for InlineElement
impl Serialize for InlineElement
impl StructuralPartialEq for InlineElement
Auto Trait Implementations§
impl Freeze for InlineElement
impl RefUnwindSafe for InlineElement
impl Send for InlineElement
impl Sync for InlineElement
impl Unpin for InlineElement
impl UnwindSafe for InlineElement
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