snarkvm_console_types_string

Trait Inverse

Source
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§

Source§

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

Source§

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

Returns the inverse of self.

Source§

type Output = Scalar<E>

Implementors§

Source§

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