Enum color_string::Font
source · pub enum Font {
}
Variants§
Reset
重置样式
Bold
字体加粗
Underline
下划线
Italic
斜体
Reverse
反色(前景色背景色交换)
Delete
删除线
Black
黑色字体
Red
红色字体
Green
绿色字体
Yellow
黄色字体
Blue
蓝色字体
Purple
紫色字体
Cyan
青色字体d
Grey
灰色字体
BgBlack
黑色背景
BgRed
红色背景
BgGreen
绿色背景
BgYellow
黄色背景
BgBlue
蓝色背景
BgPurple
紫色背景
BgCyan
青色背景
BgGrey
灰色背景
Color(u8, u8, u8)
字体颜色 RGB
BgColor(u8, u8, u8)
背景颜色 RGB
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Font
impl Send for Font
impl Sync for Font
impl Unpin for Font
impl UnwindSafe for Font
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