glitcher_core/node_id.rs
1//! Node identifier type
2//!
3//! Provides a unique identifier for nodes in the processing graph.
4
5use slotmap::new_key_type;
6
7new_key_type! {
8 /// Unique identifier for a node instance in the graph
9 ///
10 /// This is a strongly-typed ID generated by slotmap, ensuring type safety
11 /// and preventing accidental misuse of IDs.
12 pub struct NodeId;
13}