Restructure node graph proxy architecture

This commit is contained in:
Dennis
2022-04-03 19:25:07 +02:00
committed by Keavon Chambers
parent cb337fd338
commit 90e465b35c
11 changed files with 128 additions and 81 deletions

View File

@@ -79,7 +79,8 @@ fn generate_to_string(parsed: ItemFn, string: String) -> TokenStream {
let x = quote! {
//#whole_function
mod #fn_name {
#(const #const_idents: DefaultNode<#types> = DefaultNode::new();)*
#[derive(Copy, Clone)]
type F32Node<'n> = &'n (dyn Node<'n, (), Output = &'n (dyn Any + 'static)> + 'n);
struct #struct_name {
#(#idents: #types,)*
}