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.
pub fn generate_trait(name: &str, specs: &[&ScSpecFunctionV0]) -> TokenStream
Constructs a token stream containing a single trait that has a function for every function spec.