pub use self::kinds::PrimaColor;
pub use self::kinds::SecendColor;
pub use self::utils::mix;
pub mod kinds {
pub enum PrimaColor {
Red,
Yellow,
Blue,
}
pub enum SecendColor {
Orge,
Green,
Purple,
}
}
pub mod utils {
use crate::kinds::*;
pub fn mix(c1: PrimaColor, c2: PrimaColor) -> SecendColor {
SecendColor::Green
}
}