snarkvm_console_network

Trait Nand

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

Binary operator for performing NOT (a AND b).

Required Associated Types§

Required Methods§

Source

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

Returns NOT (a AND b).

Implementations on Foreign Types§

Source§

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

Source§

fn nand(&self, other: &Boolean<E>) -> <Boolean<E> as Nand>::Output

Returns the bitwise NAND of self and other.

Source§

type Output = Boolean<E>

Implementors§