pub trait JubjubEngine: Engine {
type Fs: PrimeField + SqrtField + ToUniform;
type Params: JubjubParams<Self>;
}
Expand description
This is an extension to the pairing Engine trait which offers a scalar field for the embedded curve (Jubjub) and some pre-computed parameters.
Required Associated Types§
Sourcetype Fs: PrimeField + SqrtField + ToUniform
type Fs: PrimeField + SqrtField + ToUniform
The scalar field of the Jubjub curve
Sourcetype Params: JubjubParams<Self>
type Params: JubjubParams<Self>
The parameters of Jubjub and the Sapling protocol
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.