1 2 3 4 5 6 7 8
use my_crate::PrimaryColor; use my_crate::mix; fn main() { let red = PrimaryColor::Red; let yellow = PrimaryColor::Yellow; mix(red, yellow); }