feat(view):基本实现连续视图的功能。

This commit is contained in:
徐涛
2023-03-08 16:28:24 +08:00
parent 848c8c01e7
commit 9437e45b8d
13 changed files with 191 additions and 17 deletions

View File

@@ -7,6 +7,7 @@ pub mod prelude {
}
/// 用于持有应用实例,可存放不同的应用实例。
#[allow(dead_code)]
pub enum AppHold<'a, R: Runtime> {
Instance(&'a App<R>),
Handle(&'a AppHandle<R>),