pub trait Inject {
    type Primitive;

    fn new(mode: Mode, value: Self::Primitive) -> Self;

    fn constant(value: Self::Primitive) -> Self { ... }
}
Expand description

Operations to inject from a primitive form into a circuit environment.

Required Associated Types

Required Methods

Initializes a circuit of the given mode and primitive value.

Provided Methods

Initializes a constant of the given primitive value.

Implementations on Foreign Types

Implementors