Trait snarkvm_circuit::environment::traits::Inject
source · pub trait Inject {
type Primitive;
// Required method
fn new(mode: Mode, value: Self::Primitive) -> Self;
// Provided method
fn constant(value: Self::Primitive) -> Self
where Self: Sized { ... }
}
Expand description
Operations to inject from a primitive form into a circuit environment.