pub trait ProjectableToField<F: FieldConfig> {
// Required method
fn prepare_projection(
cfg: &F,
sampled_value: &F::Element,
) -> impl Fn(&Self) -> F::Element + Send + Sync;
}Expand description
Trait for preparing a projection function to a field element from a current type.
Required Methods§
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.