Function ink_codegen::generate_code

source ·
pub fn generate_code<T>(entity: T) -> TokenStream2where
    T: CodeGenerator,
Expand description

Generates the entire code for the given ink! contract.