FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PageNavigationExtensions

    trait · ferroui-controls · v0.5.0

    trait PageNavigationExtensions
    

    Navigation members that create the page to navigate to from its type.

    View source

    Members

    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!).

    Source

    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.

    Source

    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.

    Source

    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 a JoinHandle

    Source

    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 a JoinHandle

    Source

    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 a JoinHandle

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.