pub trait Codec: Encoder + Decoder {
// Required methods
fn encode(self) -> <Self as Encoder>::Encoder;
fn decode(self) -> <Self as Decoder>::Decoder;
}
Expand description
Gives the ability to en- / decode bytes to / from ANSI background colors.