Struct fern::colors::WithFgColor
[−]
[src]
pub struct WithFgColor<T> where
T: Display, { /* fields omitted */ }
Opaque structure which represents some text data and a color to display it with. This implements [fmt::Display
]
via displaying the inner text (usually a log level) with ANSI color markers before to set the color and after to
reset the color.
WithFgColor instances can be created and displayed without any allocation.
Trait Implementations
impl<T> Display for WithFgColor<T> where
T: Display,
[src]
T: Display,