Inverse

Trait Inverse 

Source
pub trait Inverse {
    type Output;

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

Unary operator for retrieving the inverse value.

Required Associated Types§

Required Methods§

Source

fn inverse(&self) -> Self::Output

Trait Implementations§

Source§

impl<E> Metrics<dyn Inverse<Output = Field<E>>> for Field<E>
where E: Environment,

Source§

type Case = Mode

Source§

fn count( case: &<Field<E> as Metrics<dyn Inverse<Output = Field<E>>>>::Case, ) -> Count

Returns the number of constants, public inputs, private inputs, and constraints.
Source§

impl<E> OutputMode<dyn Inverse<Output = Field<E>>> for Field<E>
where E: Environment,

Source§

type Case = Mode

Source§

fn output_mode( case: &<Field<E> as OutputMode<dyn Inverse<Output = Field<E>>>>::Case, ) -> Mode

Returns the mode of the output.

Implementors§

Source§

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