FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PageFactory

    type alias · ferroui-controls · v0.5.0

    type PageFactory = dyn Fn() -> Result<ferroui_base::Ref<crate::FramePage>, crate::navigation::NavigationError>
    

    Creates the pages of a type for a Frame (Frame::register_page_factory), with a recoverable error, in place of the default constructor of the type.

    View source

    Availability

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