pub struct Ansi {}
Implementations§
Source§impl Ansi
impl Ansi
pub const BOLD: &'static str = "\u{1b}[1m"
pub const ITALIC: &'static str = "\u{1b}[3m"
pub const UNDERLINED: &'static str = "\u{1b}[4m"
pub const STRIKETHROUGH: &'static str = "\u{1b}[9m"
pub const OBFUSCATED: &'static str = "\u{1b}[8m"
pub const RESET: &'static str = "\u{1b}[m"
pub fn rgb(value: u32) -> String
Auto Trait Implementations§
impl Freeze for Ansi
impl RefUnwindSafe for Ansi
impl Send for Ansi
impl Sync for Ansi
impl Unpin for Ansi
impl UnwindSafe for Ansi
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