An atomic output library based on Rust that supports output functionalities through functions, builders, and other methods. It allows customization of text and background colors.
usecrate::*;/// Configurable text display with color, background and style options.
////// Used for building formatted console output with various display attributes.
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]pubstructText<'a>{/// The actual text content.
pubtext:&'astr,
/// The color of the text.
pubcolor: ColorType,
/// The background color of the text.
pubbg_color: ColorType,
/// Whether the text should be bold.
pubbold:bool,
/// Whether to add newline after the text
pubendl:bool,
}