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::*;/// Represents a colored text output with formatting options.
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]pubstructColorOutput<'a>{/// The text content to output.
pubtext:&'astr,
/// The text color.
pubcolor: ColorType,
/// The background color.
pubbg_color: ColorType,
/// Whether the text should be bold.
pubbold:bool,
/// Whether to add a newline after the text.
pubendl:bool,
}