FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ServiceHandle

    type alias · ferroui-base · v0.5.0

    type ServiceHandle = std::rc::Rc<dyn Any>
    

    A type-erased service handle: an Rc<dyn Any> whose content is the Rc<TService> handle of the service. Boxing the handle rather than the service is what lets trait objects (Rc<dyn IFoo>) be stored and recovered with their exact type.

    View source

    Availability

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