pub enum StylesTextDecoration {
LineThrough,
Overline,
Underline,
None,
}Expand description
Allows you to underline, overline or strike out the text.
Variants§
Trait Implementations§
Source§impl Clone for StylesTextDecoration
impl Clone for StylesTextDecoration
impl Copy for StylesTextDecoration
Source§impl Debug for StylesTextDecoration
impl Debug for StylesTextDecoration
Source§impl<'de> Deserialize<'de> for StylesTextDecoration
impl<'de> Deserialize<'de> for StylesTextDecoration
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
impl Eq for StylesTextDecoration
Source§impl From<&StylesTextDecoration> for StylesTextDecoration
impl From<&StylesTextDecoration> for StylesTextDecoration
Source§fn from(value: &StylesTextDecoration) -> Self
fn from(value: &StylesTextDecoration) -> Self
Converts to this type from the input type.
Source§impl FromStr for StylesTextDecoration
impl FromStr for StylesTextDecoration
Source§impl Hash for StylesTextDecoration
impl Hash for StylesTextDecoration
Source§impl Ord for StylesTextDecoration
impl Ord for StylesTextDecoration
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StylesTextDecoration
impl PartialEq for StylesTextDecoration
Source§impl PartialOrd for StylesTextDecoration
impl PartialOrd for StylesTextDecoration
Source§impl Serialize for StylesTextDecoration
impl Serialize for StylesTextDecoration
impl StructuralPartialEq for StylesTextDecoration
Source§impl ToString for StylesTextDecoration
impl ToString for StylesTextDecoration
Source§impl TryFrom<&String> for StylesTextDecoration
impl TryFrom<&String> for StylesTextDecoration
Source§impl TryFrom<&str> for StylesTextDecoration
impl TryFrom<&str> for StylesTextDecoration
Auto Trait Implementations§
impl Freeze for StylesTextDecoration
impl RefUnwindSafe for StylesTextDecoration
impl Send for StylesTextDecoration
impl Sync for StylesTextDecoration
impl Unpin for StylesTextDecoration
impl UnsafeUnpin for StylesTextDecoration
impl UnwindSafe for StylesTextDecoration
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