pub enum TextStyle {
Normal,
Bold,
Italics,
Underlined,
Strikethrough,
}Expand description
Indicates whether the text is bold, underlined, italics or strikethrough
Variants§
Normal
Indicates normal text.
Bold
Indicates bold text.
Italics
Indicates italicised text.
Underlined
Indicates underlined text.
Strikethrough
Indicates Strikethrough text.
Implementations§
Trait Implementations§
impl StructuralPartialEq for TextStyle
Auto Trait Implementations§
impl Freeze for TextStyle
impl RefUnwindSafe for TextStyle
impl Send for TextStyle
impl Sync for TextStyle
impl Unpin for TextStyle
impl UnsafeUnpin for TextStyle
impl UnwindSafe for TextStyle
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