pub trait PartialRoundLayerConstructor<F: Field, const WIDTH: usize> {
// Required method
fn new_from_constants(constants: PartialRoundConstants<F, WIDTH>) -> Self;
}Expand description
Construct a partial round layer from pre-computed constants.
Required Methods§
Sourcefn new_from_constants(constants: PartialRoundConstants<F, WIDTH>) -> Self
fn new_from_constants(constants: PartialRoundConstants<F, WIDTH>) -> Self
Build the layer from the sparse-form optimized constants.
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.