typed stuff

This commit is contained in:
2025-12-17 00:55:36 -05:00
parent 1363f31fcd
commit 70ac0fbcb2
3 changed files with 7 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
macro_rules! core_state {
($vis: vis $state: ty) => {
$vis type WidgetHandle<W = dyn Widget<$state>> = $crate::WidgetHandle<$state, W>;
$vis type WidgetHandles<W = dyn Widget<$state>> = $crate::WidgetHandles<$state, W>;
$vis type WidgetRef<W = dyn Widget<$state>> = $crate::WidgetRef<$state, W>;
$vis type Ui = $crate::Ui<$state>;
};