snarkvm_console_types_group

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>

Implementors§

Source§

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

Source§

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