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
pub type ComponentHook = for<'w> fn(_: DeferredWorld<'w>, _: Entity, _: ComponentId);
The type used for Component
lifecycle hooks such as on_add
, on_insert
or on_remove