Skip to main content

EntityKindHooks

Type Alias EntityKindHooks 

Source
pub type EntityKindHooks = Vec<(String, Arc<dyn KindHook>)>;
Expand description

Pack-aggregated entity-kind update hooks: (entity kind, hook) for every kind whose owning pack both declares it and registers a KindHook.

Named rather than written inline because the runtime stores it behind an Arc<RwLock<..>> and passes it across the transport boundary, so the bare form appears three times and reads as noise at each one.

Aliased Typeยง

pub struct EntityKindHooks { /* private fields */ }