pub trait Group:
Send
+ Sync
+ Copy
+ Clone
+ PartialEq
+ Eq
+ Sized
+ Add<Self, Output = Self>
+ Sub<Self, Output = Self>
+ Neg<Output = Self>
+ Mul<Fr, Output = Self> {
// Required methods
fn zero() -> Self;
fn one() -> Self;
fn random<R: Rng>(rng: &mut R) -> Self;
fn is_zero(&self) -> bool;
fn normalize(&mut self);
fn multiexp(items: &[(Self, Fr)]) -> Self;
}
Required Methods§
fn zero() -> Self
fn one() -> Self
fn random<R: Rng>(rng: &mut R) -> Self
fn is_zero(&self) -> bool
fn normalize(&mut self)
fn multiexp(items: &[(Self, Fr)]) -> Self
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.