Trait decaf377::r1cs::fqvar_ext::FqVarExtension

source ·
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§

source

fn isqrt(&self) -> Result<(Boolean<Fq>, FqVar), SynthesisError>

source

fn is_negative(&self) -> Result<Boolean<Fq>, SynthesisError>

source

fn is_nonnegative(&self) -> Result<Boolean<Fq>, SynthesisError>

source

fn abs(self) -> Result<Self, SynthesisError>

Object Safety§

This trait is not object safe.

Implementors§