Skip to main content

ComponentInstance

Type Alias ComponentInstance 

Source
pub type ComponentInstance = Arc<dyn Any + Sync + Send>;
Expand description

Type alias for component instances stored in the container

All components are stored as Arc<dyn Any + Send + Sync> to enable type-safe downcasting while maintaining thread safety.

Aliased Typeยง

pub struct ComponentInstance { /* private fields */ }