pub trait Nor<Rhs = Self>where
    Rhs: ?Sized,{
    type Output;

    // Required method
    fn nor(&self, other: &Rhs) -> Self::Output;
}
Expand description

Binary operator for performing (NOT a) AND (NOT b).

Required Associated Types§

type Output

Required Methods§

fn nor(&self, other: &Rhs) -> Self::Output

Returns (NOT a) AND (NOT b).

Trait Implementations§

§

impl<E> Metrics<dyn Nor<Boolean<E>, Output = Boolean<E>>> for Boolean<E>where E: Environment,

§

type Case = (Mode, Mode)

§

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

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

impl<E> OutputMode<dyn Nor<Boolean<E>, Output = Boolean<E>>> for Boolean<E>where E: Environment,

§

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

§

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

Returns the mode of the output.

Implementations on Foreign Types§

§

impl<E> Nor<Boolean<E>> for Boolean<E>where E: Environment,

§

fn nor(&self, other: &Boolean<E>) -> <Boolean<E> as Nor<Boolean<E>>>::Output

Returns the bitwise NOR of self and other.

§

type Output = Boolean<E>

Implementors§

§

impl<E> Nor<Boolean<E>> for snarkvm_circuit::Boolean<E>where E: Environment,

§

type Output = Boolean<E>