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