pub enum InlineStyle {
None,
Bold,
Italic,
Highlight,
Underline,
Strike,
Link,
Code,
}Expand description
Available inline styles that can be applied to Span nodes.
Variants§
None
Unstyled text.
Bold
Bold emphasis.
Italic
Italic emphasis.
Highlight
Highlighted text (e.g. <mark>).
Underline
Underlined text.
Strike
Strikethrough text.
Link
Hyperlink (<a>).
Code
Inline code.
Trait Implementations§
Source§impl Clone for InlineStyle
impl Clone for InlineStyle
Source§fn clone(&self) -> InlineStyle
fn clone(&self) -> InlineStyle
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 InlineStyle
impl Debug for InlineStyle
Source§impl Display for InlineStyle
impl Display for InlineStyle
Source§impl Hash for InlineStyle
impl Hash for InlineStyle
Source§impl PartialEq for InlineStyle
impl PartialEq for InlineStyle
impl Copy for InlineStyle
impl Eq for InlineStyle
impl StructuralPartialEq for InlineStyle
Auto Trait Implementations§
impl Freeze for InlineStyle
impl RefUnwindSafe for InlineStyle
impl Send for InlineStyle
impl Sync for InlineStyle
impl Unpin for InlineStyle
impl UnwindSafe for InlineStyle
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.