pub enum FontMode {
Show 17 variants
Bold(&'static str),
Dim(&'static str),
Italic(&'static str),
Underline(&'static str),
Blinking(&'static str),
Reverse(&'static str),
Invisible(&'static str),
Strikethrough(&'static str),
ResetAll(&'static str),
ResetBold(&'static str),
ResetDim(&'static str),
ResetItalic(&'static str),
ResetUnderline(&'static str),
ResetBlinking(&'static str),
ResetReverse(&'static str),
ResetInvisible(&'static str),
ResetStrikethrough(&'static str),
}Variants§
Bold(&'static str)
Dim(&'static str)
Italic(&'static str)
Underline(&'static str)
Blinking(&'static str)
Reverse(&'static str)
Invisible(&'static str)
Strikethrough(&'static str)
ResetAll(&'static str)
ResetBold(&'static str)
ResetDim(&'static str)
ResetItalic(&'static str)
ResetUnderline(&'static str)
ResetBlinking(&'static str)
ResetReverse(&'static str)
ResetInvisible(&'static str)
ResetStrikethrough(&'static str)
Implementations§
Source§impl FontMode
impl FontMode
pub fn bold() -> Self
pub fn dim() -> Self
pub fn italic() -> Self
pub fn underline() -> Self
pub fn blinking() -> Self
pub fn reverse() -> Self
pub fn invisible() -> Self
pub fn strikethrough() -> Self
pub fn reset_all() -> Self
pub fn reset_bold() -> Self
pub fn reset_dim() -> Self
pub fn reset_italic() -> Self
pub fn reset_underline() -> Self
pub fn reset_blinking() -> Self
pub fn reset_reverse() -> Self
pub fn reset_invisible() -> Self
pub fn reset_strikethrough() -> Self
Trait Implementations§
Source§impl Add<BackgroundColors> for FontMode
impl Add<BackgroundColors> for FontMode
Source§impl Add<FontMode> for BackgroundColors
impl Add<FontMode> for BackgroundColors
Source§impl Add<FontMode> for ForegroundColors
impl Add<FontMode> for ForegroundColors
Source§impl Add<ForegroundColors> for FontMode
impl Add<ForegroundColors> for FontMode
Auto Trait Implementations§
impl Freeze for FontMode
impl RefUnwindSafe for FontMode
impl Send for FontMode
impl Sync for FontMode
impl Unpin for FontMode
impl UnsafeUnpin for FontMode
impl UnwindSafe for FontMode
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