pub enum HtmlTextStyle {
Bold = 1,
Italic = 2,
BoldItalic = 3,
Emphasis = 4,
Typewriter = 5,
SmallCaps = 6,
SansSerif = 7,
Serif = 8,
Strikethrough = 9,
Underline = 10,
}Variants§
Bold = 1
Italic = 2
BoldItalic = 3
Emphasis = 4
Typewriter = 5
SmallCaps = 6
SansSerif = 7
Serif = 8
Strikethrough = 9
Underline = 10
Trait Implementations§
Source§impl Clone for HtmlTextStyle
impl Clone for HtmlTextStyle
Source§fn clone(&self) -> HtmlTextStyle
fn clone(&self) -> HtmlTextStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HtmlTextStyle
Source§impl Debug for HtmlTextStyle
impl Debug for HtmlTextStyle
impl Eq for HtmlTextStyle
Source§impl PartialEq for HtmlTextStyle
impl PartialEq for HtmlTextStyle
Source§fn eq(&self, other: &HtmlTextStyle) -> bool
fn eq(&self, other: &HtmlTextStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HtmlTextStyle
Auto Trait Implementations§
impl Freeze for HtmlTextStyle
impl RefUnwindSafe for HtmlTextStyle
impl Send for HtmlTextStyle
impl Sync for HtmlTextStyle
impl Unpin for HtmlTextStyle
impl UnsafeUnpin for HtmlTextStyle
impl UnwindSafe for HtmlTextStyle
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