pub trait EncodableLevel: TowerLevel {
type Encoder: Encoder<Self> + Default + Sync;
}Expand description
A tower level this crate encodes over, together with the encoder it picks for that level.
A caller naming a level rather than a transform reaches the right pair through this. Nothing but the implementations below decides which transform an alphabet gets.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl EncodableLevel for BinaryField8
impl EncodableLevel for BinaryField8
Source§impl EncodableLevel for BinaryField16
impl EncodableLevel for BinaryField16
Source§impl EncodableLevel for BinaryField32
impl EncodableLevel for BinaryField32
Source§impl EncodableLevel for BinaryField64
impl EncodableLevel for BinaryField64
Source§impl EncodableLevel for BinaryField128
The widest level has a polynomial-basis transform.
It falls back to the portable tower transform where the target has no carryless multiply.
impl EncodableLevel for BinaryField128
The widest level has a polynomial-basis transform. It falls back to the portable tower transform where the target has no carryless multiply.