AppBuilder
struct · ferroui-splat · v0.5.0
struct AppBuilder
The builder of Splat (AppBuilder): it collects modules and registrations and applies them
once, when the application is built for the first time.
Upstream subclasses override WithCoreServices; a builder built on this one wraps it and
implements IAppBuilder, adding its core services before it builds the inner builder.
Members
new
fn new(resolver: Rc<dyn IMutableDependencyResolver>) -> Self
A builder over resolver (AppBuilder(IMutableDependencyResolver)).
with_current
fn with_current(resolver: Rc<dyn IMutableDependencyResolver>, current: Option<Rc<dyn IReadonlyDependencyResolver>>) -> Self
A builder over resolver, with current as the resolver of the application
(AppBuilder(IMutableDependencyResolver, IReadonlyDependencyResolver?)).
create_splat_builder
fn create_splat_builder() -> Self
A builder over the current resolver of AppLocator (CreateSplatBuilder).
has_been_built
fn has_been_built() -> bool
Whether an application was built (HasBeenBuilt).
using_builder
fn using_builder() -> bool
Whether a builder was created (UsingBuilder).
reset_builder_state_for_tests
fn reset_builder_state_for_tests()
Resets has_been_built and using_builder
(ResetBuilderStateForTests).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyIAppInstanceIAppBuilder
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.