binius_field::packed_extension

Trait PackedExtensionIndexable

source
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§

source

fn unpack_base_scalars(packed: &[Self]) -> &[F]

source

fn unpack_base_scalars_mut(packed: &mut [Self]) -> &mut [F]

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<F, PT> PackedExtensionIndexable<F> for PT
where F: Field, PT: PackedExtension<F, Scalar: ExtensionField<F>, PackedSubfield: PackedFieldIndexable>,