From f029a51c1dd308ff8271c2be37d0fdc053552310 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 15 Apr 2026 12:43:32 +0800 Subject: Add register_type macro and use it in chain and renderer macros --- mingling/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mingling/src') diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index 5f45228..12d4a84 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -98,6 +98,8 @@ pub mod macros { pub use mingling_macros::r_print; /// Used to print content with a newline within a `Renderer` context pub use mingling_macros::r_println; + /// Used to register a type into the context + pub use mingling_macros::register_type; /// Used to generate a struct implementing the `Renderer` trait via a method pub use mingling_macros::renderer; #[cfg(feature = "comp")] -- cgit