Skip to main content

Nor

Trait Nor 

Source
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§

Required Methods§

Source

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

Returns (NOT a) AND (NOT b).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Source§

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

Returns the bitwise NOR of self and other.

Source§

type Output = Boolean<E>

Implementors§