From 3de10ca22cca06c4d9069984d0e66e370a331dde Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 1 Apr 2026 15:48:41 +0800 Subject: Replace typeid-based dispatch with enum-based dispatch - Add `Groupped` trait and `member_id` to `AnyOutput` - Add generic parameter `G` to `Dispatcher`, `Chain`, `Program` etc - Remove `hint` module and its marker types - Update macros to support explicit group specification - Add `gen_program` macro for generating enum-based programs - Add `GroupProcess` marker type for type-level grouping --- mingling_core/src/lib.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mingling_core/src/lib.rs') diff --git a/mingling_core/src/lib.rs b/mingling_core/src/lib.rs index 10a1830..3d2be11 100644 --- a/mingling_core/src/lib.rs +++ b/mingling_core/src/lib.rs @@ -1,6 +1,12 @@ mod any; +pub use crate::any::group::*; pub use crate::any::*; +mod markers; +pub mod marker { + pub use crate::markers::group_process::*; +} + pub mod error { pub use crate::asset::chain::error::*; pub use crate::exec::error::*; @@ -11,9 +17,6 @@ pub use crate::program::*; pub mod setup { pub use crate::program::setup::*; } -pub mod hint { - pub use crate::program::hint::*; -} mod renderer; -- cgit