StartupConfiguration
struct · ferroui-reactiveui-controls · v0.5.0
struct StartupConfiguration
Builds ReactiveUI once the platform services of the application are ready
(StartupConfiguration).
Members
configure_reactive_ui
fn configure_reactive_ui(configure_reactive_ui: &dyn Fn(&ReactiveUIBuilder) -> ())
Configures and builds ReactiveUI after the platform services are ready
(ConfigureReactiveUI): a builder with the services of FerroUI
(with_ferro), then the application's
configuration, then the build, unless an application was built already.
The code of the user interface thread that runs outside of a dispatcher job continues at
Normal unless it has a priority (Dispatcher::set_current_priority), where the reference
installs the synchronization context of the dispatcher; the dispatcher is the schedule of
its thread already.
configure_reactive_ui_di_container
fn configure_reactive_ui_di_container<C: 'static>(resolver: Option<Rc<dyn IMutableDependencyResolver>>, container_factory: &dyn Fn() -> Rc<C>, container_config: &dyn Fn(&Rc<C>) -> (), dependency_resolver_factory: &dyn Fn(&Rc<C>) -> Rc<dyn IDependencyResolver>)
Configures ReactiveUI with a dependency injection container when a mutable resolver is
available (ConfigureReactiveUIDIContainer): the container is created, registered as a
constant, its resolver becomes the one of the locator, the scheduler of the user interface
thread becomes the main thread scheduler, and the container is configured.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.