pub trait Capacity { // Required method fn bitrate(&self) -> usize; }
Trait that should be implemented by the Encoders. Gives amount of bits that are encoded per text fragment. Concrete text fragment (e.g. line) is determined by the Context.
Returns how many bits are encoded per text fragment.