pub trait WitnessTrait: DynClone {
// Required method
fn build_witness(&self) -> WitnessValues;
}Expand description
An interface for structs capable of generating Simplicity program witness mappings.
See the include_simc!() macro, which generates an automatic WitnessTrait implementation.
Required Methods§
Sourcefn build_witness(&self) -> WitnessValues
fn build_witness(&self) -> WitnessValues
Compiles and generates the fully populated WitnessValues map for execution.