pub trait NumWords: Clone + Debug {
type WordsFieldElement: ArrayLength + Debug;
type WordsCurvePoint: ArrayLength + Debug;
}Expand description
Trait that holds number of words needed to represent a field element and a curve point.
Required Associated Types§
Sourcetype WordsFieldElement: ArrayLength + Debug
type WordsFieldElement: ArrayLength + Debug
The number of words needed to represent a field element.
Sourcetype WordsCurvePoint: ArrayLength + Debug
type WordsCurvePoint: ArrayLength + Debug
The number of words needed to represent a curve point (two field elements).
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.