pub trait Group: 'static + Send + Sync + Copy + Clone + PartialEq + Eq + Serialize + DeserializeOwned + 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 + ?Sized>(rng: &mut R) -> Self;
fn is_zero(&self) -> bool;
fn into_bytes(&self) -> Vec<u8>;
fn normalize(&mut self);
}
Required Methods§
fn zero() -> Self
fn one() -> Self
fn random<R: Rng + ?Sized>(rng: &mut R) -> Self
fn is_zero(&self) -> bool
fn into_bytes(&self) -> Vec<u8>
fn normalize(&mut self)
Object Safety§
This trait is not object safe.