From 0426a01e822baaf88ba5a349f6a3124fa08b7a00 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 6 Sep 2026 16:27:32 +0000 Subject: [PATCH] Rename the DynEdge alias to DynSource --- node-graph/libraries/core-types/src/registry.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/node-graph/libraries/core-types/src/registry.rs b/node-graph/libraries/core-types/src/registry.rs index f612bcd2c6..4db3cce328 100644 --- a/node-graph/libraries/core-types/src/registry.rs +++ b/node-graph/libraries/core-types/src/registry.rs @@ -79,9 +79,9 @@ pub type ErasedRecordNode = dyn for<'c> Node> + Send + Sync; pub type ErasedRecordNode = dyn for<'c> Node>; #[cfg(not(target_family = "wasm"))] -type DynEdge = dyn std::any::Any + Send + Sync; +type DynSource = dyn std::any::Any + Send + Sync; #[cfg(target_family = "wasm")] -type DynEdge = dyn std::any::Any; +type DynSource = dyn std::any::Any; pub fn record_type() -> Type { Type::Record(Box::new(concrete!(T))) @@ -186,11 +186,11 @@ where } pub struct SourceHandle { - node: Box, - share: fn(&DynEdge) -> Box, - serialize: fn(&DynEdge) -> Option>, - layout: fn(&DynEdge) -> &crate::record::Layout, - set_layout: fn(&mut DynEdge, crate::record::RecordLayout), + node: Box, + share: fn(&DynSource) -> Box, + serialize: fn(&DynSource) -> Option>, + layout: fn(&DynSource) -> &crate::record::Layout, + set_layout: fn(&mut DynSource, crate::record::RecordLayout), ty: Type, }