pub trait PackScalar<F: Field>: UnderlierType {
type Packed: PackedField<Scalar = F> + WithUnderlier<Underlier = Self>;
}
Expand description
This trait represents correspondence (UnderlierType, Field) -> PackedField. For example (u64, BinaryField16b) -> PackedBinaryField4x16b.
Required Associated Types§
type Packed: PackedField<Scalar = F> + WithUnderlier<Underlier = Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.