bevy_ecs/world/
component_constants.rsuse super::*;
use crate::{self as bevy_ecs};
#[cfg(feature = "bevy_reflect")]
use bevy_reflect::Reflect;
pub const ON_ADD: ComponentId = ComponentId::new(0);
pub const ON_INSERT: ComponentId = ComponentId::new(1);
pub const ON_REMOVE: ComponentId = ComponentId::new(2);
#[derive(Event)]
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
pub struct OnAdd;
#[derive(Event)]
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
pub struct OnInsert;
#[derive(Event)]
#[cfg_attr(feature = "bevy_reflect", derive(Reflect))]
pub struct OnRemove;