Skip to main content

fui_managed_app

Macro fui_managed_app 

Source
macro_rules! fui_managed_app {
    ($page_ty:ty, $build_page:expr, $get_root:expr) => { ... };
    ($page_ty:ty, $build_page:expr, $get_root:expr, mount: $mount_page:expr) => { ... };
    ($page_ty:ty, $build_page:expr, $get_root:expr, dispose: $dispose_page:expr) => { ... };
    ($page_ty:ty, $build_page:expr, $get_root:expr, mount: $mount_page:expr, dispose: $dispose_page:expr) => { ... };
}
Expand description

Defines FUI-RS application lifecycle exports with custom root projection and optional mount/dispose hooks.

Normal retained pages should use fui_app!. This lower-level macro is for applications whose page object is not itself the mounted root or whose lifecycle requires explicit host hooks beyond ordinary Rust ownership.