aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/src/asset.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-19 10:53:33 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-19 10:54:27 +0800
commitec88e6a1682740c64cb3735016632542e69f9e53 (patch)
tree031a6e6512f07757ee832e288208c425f794c5de /mingling_core/src/asset.rs
parent320ea9a3a418daa17174dc78f1262509b96b13b9 (diff)
feat(macros): add Routable trait and update route! macro
Introduce a `Routable` trait with `to_chain` and `to_render` methods, replacing direct `Grouped` usage in the `route!` macro so error branches correctly route through the rendering pipeline
Diffstat (limited to 'mingling_core/src/asset.rs')
-rw-r--r--mingling_core/src/asset.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling_core/src/asset.rs b/mingling_core/src/asset.rs
index b1fd617..9b9a5d4 100644
--- a/mingling_core/src/asset.rs
+++ b/mingling_core/src/asset.rs
@@ -21,3 +21,6 @@ pub mod node;
#[doc(hidden)]
pub mod renderer;
+
+#[doc(hidden)]
+pub mod routable;