mycelium_trace::colorTrait SetColor
Source pub trait SetColor {
// Required methods
fn set_fg_color(&mut self, color: Color);
fn fg_color(&self) -> Color;
fn set_bold(&mut self, bold: bool);
// Provided methods
fn with_bold(&mut self) -> WithBold<'_, Self>
where Self: Write + Sized { ... }
fn with_fg_color(&mut self, color: Color) -> WithFgColor<'_, Self>
where Self: Write + Sized { ... }
}
Sets bold text.
This may brighten a text color if bold text is not supported.
Source§Available on crate feature embedded-graphics
only.