p3_poseidon2

Trait InternalLayerConstructor

Source
pub trait InternalLayerConstructor<AF>
where AF: AbstractField,
{ // Required method fn new_from_constants(internal_constants: Vec<AF::F>) -> Self; }
Expand description

Initialize an internal layer from a set of constants.

Required Methods§

Source

fn new_from_constants(internal_constants: Vec<AF::F>) -> Self

A constructor which internally will convert the supplied constants into the appropriate form for the implementation.

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.

Implementors§