pub trait ScalarArithmetic: Curve {
type Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>;
}Expand description
Scalar arithmetic.
Required Associated Types§
Sourcetype Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>
type Scalar: ConstantTimeEq + Field + PrimeField<Repr = FieldBytes<Self>>
Scalar field type.
Note: the following bounds are enforced by ff::Field:
CopyCloneConditionallySelectableDebugDefaultSendSync
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".