pub trait PackableField:
Sized
+ Copy
+ Clone
+ Default {
type Packed: Add<Output = Self::Packed> + Sub<Output = Self::Packed> + Mul<Output = Self::Packed> + Mul<Self, Output = Self::Packed> + AddAssign + SubAssign + MulAssign + Copy + Clone + Default;
const WIDTH: usize;
// Required methods
fn pack(chunk: &[Self]) -> Self::Packed;
fn unpack(packed: Self::Packed, output: &mut [Self]);
}Expand description
A trait linking a Field element to its SIMD packed representation.
Required Associated Constants§
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".