1 2 3 4 5 6 7 8 9
use std::sync::Arc; use crate::Component; /// Registration interface for installing components into a context. pub trait ComponentRegistrar { /// Register a component instance. fn register_component_dyn(&mut self, component: Arc<dyn Component>); }