FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ResolveServices

    trait · ferroui-reactiveui · v0.5.0

    trait ResolveServices: Sized
    

    The services that ReactiveUIInstanceMixins::with_instance resolves and hands to its action: one service as an Option<Rc<S>>, or a tuple of 1 to 16 of them. Each is None when the resolver has no registration for it (upstream's T?). The service may be a trait object.

    Deviation (DEVIATIONS.md, ReactiveUI): upstream overloads WithInstance for actions of 1 to 16 arguments; the action here takes the services as one argument, whose type, a tuple for more than one, says what to resolve.

    View source

    Members

    resolve

    fn resolve(resolver: &dyn IReadonlyDependencyResolver) -> Self
    

    The services, resolved from resolver.

    Source

    Trait implementations

    Availability

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