pub trait Color<T>: Copy {
// Required methods
fn clamp_s(self, lo: T, hi: T) -> Self;
fn clamp_c(self, lo: Self, hi: Self) -> Self;
fn inverse(self) -> Self;
fn mix(self, other: Self, value: T) -> Self;
}
pub trait Color<T>: Copy {
// Required methods
fn clamp_s(self, lo: T, hi: T) -> Self;
fn clamp_c(self, lo: Self, hi: Self) -> Self;
fn inverse(self) -> Self;
fn mix(self, other: Self, value: T) -> Self;
}