Type Alias valence::ecs::component::ComponentHook
pub type ComponentHook = for<'w> fn(_: DeferredWorld<'w>, _: Entity, _: ComponentId);
Expand description
The type used for Component
lifecycle hooks such as on_add
, on_insert
or on_remove