pub trait EncodeColor { type Bytes: IntoIterator<Item = u8>; // Required method fn encode(self) -> Self::Bytes; }