Crates.io | aa-colour |
lib.rs | aa-colour |
version | 0.1.1 |
source | src |
created_at | 2020-09-09 16:19:24.530988 |
updated_at | 2020-09-09 16:19:24.530988 |
description | Add some colours to your amino acids. |
homepage | |
repository | https://github.com/jeanmanguy/aa-colour |
max_upload_size | |
id | 286741 |
size | 20,092 |
🎨 Add colours to your amino acids in the terminal.
Code inspired from the crates owo-colors and colored.
use aa_colour::{AaColourise, palettes::Clustal};
println!("{}", AaColour::colour::<Clustal>(&'A').unwrap());
println!("{}", AaColour::blank::<Clustal>(&'-').unwrap());