pub trait EvaluationDomainFactory<DomainField: Field>: Clone + Sync {
// Required method
fn create_with_infinity(
&self,
size: usize,
with_infinity: bool,
) -> Result<EvaluationDomain<DomainField>, Error>;
// Provided method
fn create(
&self,
size: usize,
) -> Result<EvaluationDomain<DomainField>, Error> { ... }
}
Expand description
Wraps type information to enable instantiating EvaluationDomains.
Required Methods§
Sourcefn create_with_infinity(
&self,
size: usize,
with_infinity: bool,
) -> Result<EvaluationDomain<DomainField>, Error>
fn create_with_infinity( &self, size: usize, with_infinity: bool, ) -> Result<EvaluationDomain<DomainField>, Error>
Instantiates an EvaluationDomain from size
values in total: lexicographically first values
from the binary subspace and potentially Karatsuba “infinity” point (which is the coefficient of
the highest power in the interpolated polynomial).
Provided 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.