Enum fb2::StyleElement
source · 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 Debug for StyleElement
impl Debug for StyleElement
source§impl PartialEq<StyleElement> for StyleElement
impl PartialEq<StyleElement> for StyleElement
source§fn eq(&self, other: &StyleElement) -> bool
fn eq(&self, other: &StyleElement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StyleElement
Auto Trait Implementations§
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