Function soroban_spec_rust::trait::generate_trait
source · pub fn generate_trait(name: &str, specs: &[&ScSpecFunctionV0]) -> TokenStream
Expand description
Constructs a token stream containing a single trait that has a function for every function spec.