pub type ServiceFactory = dyn Fn(&ServiceProvider) -> Ref<dyn Any>;
Expand description
Represents the callback function used to create a service.
pub type ServiceFactory = dyn Fn(&ServiceProvider) -> Ref<dyn Any>;
Represents the callback function used to create a service.