pub enum StyleElement {
Strong(Style),
Emphasis(Style),
Style(NamedStyle),
Link(Link),
Strikethrough(Style),
Subscript(Style),
Superscript(Style),
Code(Style),
Image(InlineImage),
Text(String),
}Expand description
Markup
Variants§
Strong(Style)
Emphasis(Style)
Style(NamedStyle)
Link(Link)
Strikethrough(Style)
Subscript(Style)
Superscript(Style)
Code(Style)
Image(InlineImage)
Text(String)
Trait Implementations§
Source§impl Clone for StyleElement
impl Clone for StyleElement
Source§fn clone(&self) -> StyleElement
fn clone(&self) -> StyleElement
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 StyleElement
impl Debug for StyleElement
Source§impl PartialEq for StyleElement
impl PartialEq for StyleElement
Source§impl Serialize for StyleElement
impl Serialize for StyleElement
impl StructuralPartialEq for StyleElement
Auto Trait Implementations§
impl Freeze for StyleElement
impl RefUnwindSafe for StyleElement
impl Send for StyleElement
impl Sync for StyleElement
impl Unpin for StyleElement
impl UnwindSafe for StyleElement
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