Expand description
Foundation polymorphism plumbing shared by bb-dsl (authoring)
and bb-runtime (dispatch).
Structs§
- Construct
Error - Errors surfaced by
ConstructFn. - Dependency
Decl - Author-declared sibling dependency at a named slot. Compiler
verifies role match; runtime reaches it via
RuntimeResourceRef::dependency::<T>(slot).
Enums§
- Component
Package - Component-package origin tag. Surfaces in introspection + telemetry.
- Restore
Error - Error variants surfaced by
ConcreteComponent::restore.
Traits§
- AnyComponent
- Dyn-safe downcast surface. No blanket impl —
Box<dyn AnyComponent>would otherwise shadow per-type vtables.bb::Concretederive emits the impl. - Erased
Component - Marker for engine-owned component instances. Blanket impl covers
every
Any + Send + Sync.
Type Aliases§
- Construct
Fn - Per-type constructor. Downcasts
&dyn Any→&Configand callsT::new. Install looks it up byTYPE_NAME. - Restore
Fn - Monomorphized
T::restore; used by snapshot/resume. - Serialize
Fn - Monomorphized
T::serializecaptured at derive-codegen time.