diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-04-15 12:43:32 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-04-15 12:43:32 +0800 |
| commit | f029a51c1dd308ff8271c2be37d0fdc053552310 (patch) | |
| tree | 30704c833fe8ade5ea3bb1c0f71d286d37f013d8 /mingling/src | |
| parent | 5a60cb2edf9d9c6db19f74d27033febbd5abfbd9 (diff) | |
Add register_type macro and use it in chain and renderer macros
Diffstat (limited to 'mingling/src')
| -rw-r--r-- | mingling/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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")] |
