Skip to main content

cast_base_mut

Function cast_base_mut 

Source
pub fn cast_base_mut<FSub, P>(packed: &mut P) -> &mut PackedSubfield<P, FSub>
where FSub: BinaryField, P: PackedField<Scalar: ExtensionField<FSub>> + UnderlierView, PackedSubfield<P, FSub>: PackedField<Scalar = FSub>,
Expand description

Reads a packed extension field element in place as a packed subfield element.