FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IAppBuilder

    trait · ferroui-splat · v0.5.0

    trait IAppBuilder
    

    Configures the services of an application, then builds it (IAppBuilder). Each method returns the builder, to chain the calls.

    View source

    Members

    build

    fn build(self: &Self) -> &dyn IAppInstance
    

    Applies the registrations and returns the application (Build).

    Source

    use_current_splat_locator

    fn use_current_splat_locator(self: &Self) -> &dyn IAppBuilder
    

    Applies the registrations to the current resolver of AppLocator at build time instead of the builder's (UseCurrentSplatLocator).

    Source

    using_module

    fn using_module(self: &Self, registration_module: Rc<dyn IModule>) -> &dyn IAppBuilder
    

    Adds a module, whose registrations are applied at build time (UsingModule<T>).

    Source

    with_core_services

    fn with_core_services(self: &Self) -> &dyn IAppBuilder
    

    Adds the core services (WithCoreServices).

    Source

    with_custom_registration

    fn with_custom_registration(self: &Self, configure_action: Rc<dyn Fn(&dyn IMutableDependencyResolver) -> ()>) -> &dyn IAppBuilder
    

    Adds registrations, applied at build time (WithCustomRegistration).

    Source

    Trait implementations

    Availability

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