PageNavigationExtensions
trait · ferroui-controls · v0.5.0
trait PageNavigationExtensions
Navigation members that create the page to navigate to from its type.
Members
push_async_ofreplace_async_ofpush_modal_async_ofpush_async_of_taskreplace_async_of_taskpush_modal_async_of_task
push_async_of
fn push_async_of<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
Pushes a new page of class T, created with its default constructor (new of
ferro_class_info!).
replace_async_of
fn replace_async_of<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
Replaces the current top page with a new page of class T.
push_modal_async_of
fn push_modal_async_of<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
Pushes a new page of class T as a modal.
push_async_of_task
fn push_async_of_task<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
The deprecated form of push_async_of: a DispatcherTask.
Deprecated since 0.5.0. use
push_async_of, which gives aJoinHandle
replace_async_of_task
fn replace_async_of_task<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
The deprecated form of replace_async_of: a DispatcherTask.
Deprecated since 0.5.0. use
replace_async_of, which gives aJoinHandle
push_modal_async_of_task
fn push_modal_async_of_task<T: DefaultConstructible + Upcast<Page>>(self: &Self, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
The deprecated form of push_modal_async_of: a DispatcherTask.
Deprecated since 0.5.0. use
push_modal_async_of, which gives aJoinHandle
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.