redbon/lib.rs
1pub use self::kinds::PrimaryColor;
2pub use self::kinds::SecondaryColor;
3pub use self::utils::mix;
4
5pub mod kinds {
6 pub enum PrimaryColor {
7 Red,
8 Yellow,
9 Blue,
10 }
11
12 pub enum SecondaryColor {
13 Orange,
14 Green,
15 Purple,
16 }
17}
18
19pub mod utils {
20 use crate::kinds::*;
21
22 pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
23 unimplemented!();
24 }
25}