pub trait FromBoolean {
    type Boolean: BooleanTrait;

    fn from_boolean(boolean: &Self::Boolean) -> Self
    where
        Self: Sized
; }
Expand description

Unary operator for instantiating from a boolean.

Required Associated Types

Required Methods

Trait Implementations

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

Implementors