snarkvm_circuit_environment::traits

Trait BooleanTrait

Source
pub trait BooleanTrait:
    Adder
    + BitAndAssign
    + BitAnd<Output = Self>
    + BitOrAssign
    + BitOr<Output = Self>
    + BitXorAssign
    + BitXor<Output = Self>
    + Clone
    + Eject<Primitive = bool>
    + Equal
    + FromBits
    + Inject<Primitive = bool>
    + Nand
    + Nor
    + Not
    + Parser
    + Subtractor
    + Ternary
    + ToBits
    + TypeName { }
Expand description

Representation of a boolean.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§