pub trait GenerateRandomTrace<const DEGREE_PLUS_ONE: usize>: Uair {
type PolyCoeff: Clone;
type Int: Clone;
// Required method
fn generate_random_trace<Rng: RngCore + ?Sized>(
num_vars: usize,
rng: &mut Rng,
) -> UairTrace<'static, Self::PolyCoeff, Self::Int, DEGREE_PLUS_ONE>;
}Expand description
A trait for UAIRs for generating random trace (for both public and witness columns).
Required Associated Types§
Required Methods§
fn generate_random_trace<Rng: RngCore + ?Sized>( num_vars: usize, rng: &mut Rng, ) -> UairTrace<'static, Self::PolyCoeff, Self::Int, DEGREE_PLUS_ONE>
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.