pub trait FqVarExtension: Sized {
// Required methods
fn isqrt(&self) -> Result<(Boolean<Fq>, FqVar), SynthesisError>;
fn is_negative(&self) -> Result<Boolean<Fq>, SynthesisError>;
fn is_nonnegative(&self) -> Result<Boolean<Fq>, SynthesisError>;
fn abs(self) -> Result<Self, SynthesisError>;
}
Required Methods§
fn isqrt(&self) -> Result<(Boolean<Fq>, FqVar), SynthesisError>
fn is_negative(&self) -> Result<Boolean<Fq>, SynthesisError>
fn is_nonnegative(&self) -> Result<Boolean<Fq>, SynthesisError>
fn abs(self) -> Result<Self, SynthesisError>
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.