pub trait Curve:
Debug
+ Sync
+ Send
+ Sealed {
// Required method
fn group() -> Group;
}Expand description
An elliptic curve.
§Safety
The current EC implementation are thread-safe. Implementers should make sure that further additions to the curve family should respect thread-safety, too.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".