pub struct Tint { /* private fields */ }Implementations§
Source§impl Tint
impl Tint
pub fn red() -> Self
pub fn green() -> Self
pub fn yellow() -> Self
pub fn blue() -> Self
pub fn purple() -> Self
pub fn cyan() -> Self
pub fn white() -> Self
pub fn black() -> Self
pub fn bright_red() -> Self
pub fn bright_green() -> Self
pub fn bright_yellow() -> Self
pub fn bright_blue() -> Self
pub fn bright_purple() -> Self
pub fn bright_cyan() -> Self
pub fn bold(self) -> Self
pub fn dimmed(self) -> Self
pub fn italic(self) -> Self
pub fn underline(self) -> Self
pub fn strikethrough(self) -> Self
pub fn bg_red(self) -> Self
pub fn bg_green(self) -> Self
pub fn bg_yellow(self) -> Self
pub fn bg_blue(self) -> Self
pub fn bg_purple(self) -> Self
pub fn bg_cyan(self) -> Self
pub fn bg_white(self) -> Self
pub fn bg_black(self) -> Self
pub fn color(n: u8) -> Self
pub fn bg_color(self, n: u8) -> Self
pub fn rgb(r: u8, g: u8, b: u8) -> Self
pub fn bg_rgb(self, r: u8, g: u8, b: u8) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tint
impl RefUnwindSafe for Tint
impl Send for Tint
impl Sync for Tint
impl Unpin for Tint
impl UnsafeUnpin for Tint
impl UnwindSafe for Tint
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