pub trait Inverse {
    type Output;

    // Required method
    fn inverse(&self) -> Result<Self::Output, Error>;
}
Expand description

Unary operator for retrieving the inverse value.

Required Associated Types§

Required Methods§

source

fn inverse(&self) -> Result<Self::Output, Error>

Implementations on Foreign Types§

§

impl<E> Inverse for Field<E>
where E: Environment,

§

fn inverse(&self) -> Result<<Field<E> as Inverse>::Output, Error>

Returns the inverse of self.

§

type Output = Field<E>

§

impl<E> Inverse for Scalar<E>
where E: Environment,

§

fn inverse(&self) -> Result<<Scalar<E> as Inverse>::Output, Error>

Returns the inverse of self.

§

type Output = Scalar<E>

Implementors§