Trait DivUnchecked

Source
pub trait DivUnchecked<Rhs = Self>
where Rhs: ?Sized,
{ type Output; // Required method fn div_unchecked(&self, rhs: &Rhs) -> Self::Output; }
Expand description

Binary operator for dividing two values, without checking specific conditions.

Required Associated Types§

Required Methods§

Source

fn div_unchecked(&self, rhs: &Rhs) -> Self::Output

Trait Implementations§

Source§

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

Source§

type Case = (Mode, Mode)

Source§

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

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

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

Source§

type Case = (CircuitType<Field<E>>, CircuitType<Field<E>>)

Source§

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

Returns the mode of the output.

Implementors§

Source§

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