pub trait PartialRoundLayer<R, const WIDTH: usize, const D: u64>: Sync + Clonewhere
R: PrimeCharacteristicRing,{
// Required method
fn permute_state(&self, state: &mut [R; WIDTH]);
}Expand description
The partial (internal) round layer of the Poseidon1 permutation.
Implementors apply all RP partial rounds to the state.
Field-specific implementations (e.g., NEON, AVX2) can override the generic behavior.
Required Methods§
Sourcefn permute_state(&self, state: &mut [R; WIDTH])
fn permute_state(&self, state: &mut [R; WIDTH])
Apply all RP partial rounds to the state.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".