pub enum TextStyle {
Normal,
Bold,
Dim,
Italic,
Header,
Error,
Warning,
Success,
}Expand description
Text style
Variants§
Normal
Normal text
Bold
Bold text
Dim
Dimmed text
Italic
Italic text
Header
Header text
Error
Error text
Warning
Warning text
Success
Success text
Trait Implementations§
impl Copy for TextStyle
impl Eq for TextStyle
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