Crates.io | ez_colorize |
lib.rs | ez_colorize |
version | 0.1.0 |
source | src |
created_at | 2022-06-30 19:33:26.331306 |
updated_at | 2022-06-30 19:33:26.331306 |
description | Library to easily change the color of output text |
homepage | https://github.com/KurlykovDanila |
repository | https://github.com/KurlykovDanila/EzColorize |
max_upload_size | |
id | 616618 |
size | 3,221 |
Library to easily change the color of output text
use ez_colorize::ColorizeDebug;
#[derive(Debug)]
struct MyData{}
fn main() {
let a = 23;
println!("{}", a.red());
let my_data = MyData{};
println!("{}", my_data.blue());
}