pub trait PackedExtensionIndexable<F: Field>: PackedExtension<F>{
// Provided methods
fn unpack_base_scalars(packed: &[Self]) -> &[F] { ... }
fn unpack_base_scalars_mut(packed: &mut [Self]) -> &mut [F] { ... }
}
Expand description
This trait adds shortcut methods for the case PackedExtension<F, PackedSubfield: PackedFieldIndexable>
which is a
quite common case in our codebase.
Provided Methods§
fn unpack_base_scalars(packed: &[Self]) -> &[F]
fn unpack_base_scalars_mut(packed: &mut [Self]) -> &mut [F]
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.