#[repr(C)]pub enum StyleTextDecoration {
None = 0,
Underline = 1,
Overline = 2,
LineThrough = 3,
}Expand description
Text decoration (underline, overline, line-through).
Variants§
None = 0
No decoration
Underline = 1
Underline
Overline = 2
Line above text
LineThrough = 3
Strike-through line
Trait Implementations§
Source§impl Clone for StyleTextDecoration
impl Clone for StyleTextDecoration
Source§fn clone(&self) -> StyleTextDecoration
fn clone(&self) -> StyleTextDecoration
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 StyleTextDecoration
impl Debug for StyleTextDecoration
Source§impl Default for StyleTextDecoration
impl Default for StyleTextDecoration
Source§impl FormatAsRustCode for StyleTextDecoration
impl FormatAsRustCode for StyleTextDecoration
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<StyleTextDecoration> for CssProperty
impl From<StyleTextDecoration> for CssProperty
Source§fn from(value: StyleTextDecoration) -> Self
fn from(value: StyleTextDecoration) -> Self
Converts to this type from the input type.
Source§impl Hash for StyleTextDecoration
impl Hash for StyleTextDecoration
Source§impl Ord for StyleTextDecoration
impl Ord for StyleTextDecoration
Source§fn cmp(&self, other: &StyleTextDecoration) -> Ordering
fn cmp(&self, other: &StyleTextDecoration) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StyleTextDecoration
impl PartialEq for StyleTextDecoration
Source§impl PartialOrd for StyleTextDecoration
impl PartialOrd for StyleTextDecoration
Source§impl PrintAsCssValue for StyleTextDecoration
impl PrintAsCssValue for StyleTextDecoration
fn print_as_css_value(&self) -> String
impl Copy for StyleTextDecoration
impl Eq for StyleTextDecoration
impl StructuralPartialEq for StyleTextDecoration
Auto Trait Implementations§
impl Freeze for StyleTextDecoration
impl RefUnwindSafe for StyleTextDecoration
impl Send for StyleTextDecoration
impl Sync for StyleTextDecoration
impl Unpin for StyleTextDecoration
impl UnwindSafe for StyleTextDecoration
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