Function rusty_helloworld::utils::mix
source · pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor
Expand description
Combines two PrimaryColors into one in equal amounts to create a secondary color.
pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor
Combines two PrimaryColors into one in equal amounts to create a secondary color.