pub trait Decoder { type Parser; type Decoder; // Required methods fn parse(self) -> Self::Parser; fn decode(self) -> Self::Decoder; }
Gives the ability to decode bytes from ANSI background colors.
A type to parse color codes.
A type to decode color codes.
Parse bytes into color codes.
Decode color codes to bytes.