1 2 3 4 5 6 7 8
use my_crates::{PrimaryColor, SecondaryColor}; use my_crates::mix; fn main() { let red = PrimaryColor::Red; let orange = SecondaryColor::Orange; mix(red, orange); }