pub trait AnyCompose: Send + Sync {
// Required methods
fn as_any_mut(&mut self) -> &mut dyn Any;
fn build_any(
&mut self,
world: &mut World,
children: &mut Vec<Entity>,
) -> Box<dyn Any + Send + Sync>;
fn rebuild_any(
&mut self,
target: &mut dyn Any,
state: &mut dyn Any,
world: &mut World,
children: &mut Vec<Entity>,
);
}