Skip to main content

ArgumentsTrait

Trait ArgumentsTrait 

Source
pub trait ArgumentsTrait: DynClone {
    // Required method
    fn build_arguments(&self) -> Arguments;
}
Expand description

An interface for structs capable of generating static argument mapping for Simplicity programs. See the include_simc!() macro, which generates automatic ArgumentsTrait implementation.

Required Methods§

Source

fn build_arguments(&self) -> Arguments

Compiles and returns the bound Arguments dict required to instantiate a program.

Implementors§