Trait ColorType
visioncortex
pub trait ColorType { type ValueType; fn channel(&self, c: usize) -> Option<Self::ValueType>; }
type ValueType
fn channel(&self, c: usize) -> Option<Self::ValueType>
impl ColorType for Color
type ValueType = u8