FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IFerroDependencyResolver

    trait · ferroui-base · v0.5.0

    trait IFerroDependencyResolver
    

    Resolves services by type.

    View source

    Members

    get_service_untyped

    fn get_service_untyped(self: &Self, service_type: TypeId) -> Option<ServiceHandle>
    

    Returns the service registered for service_type, as a handle whose content is Rc<TService>. Use LocatorExtensions::get_service for the typed form.

    Source

    Trait implementations

    Availability

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