FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IServiceProvider

    trait · ferroui-dependency-injection · v0.5.0

    trait IServiceProvider
    

    View source

    Members

    ensure_active

    fn ensure_active(self: &Self) -> ServiceResult<()>
    

    Source

    required_service_provider

    fn required_service_provider(self: &Self) -> Option<&dyn ISupportRequiredService>
    

    Explicit capability query replaces CLR interface casts for alternate providers.

    Source

    disposable

    fn disposable(self: &Self) -> Option<&dyn IDisposable>
    

    Source

    required_service_erased

    fn required_service_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<ErasedService>
    

    Source

    get_service_erased

    fn get_service_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<Option<ErasedService>>
    

    Source

    get_services_erased

    fn get_services_erased(self: &Self, id: &ServiceIdentifier) -> ServiceResult<Vec<ErasedService>>
    

    Source

    Trait implementations

    Availability

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