2024-01-05 01:52:47 +00:00
|
|
|
use lyra_ecs::DynamicBundle;
|
|
|
|
|
|
|
|
#[derive(Clone)]
|
|
|
|
pub struct ScriptDynamicBundle(pub DynamicBundle);
|
|
|
|
|
|
|
|
impl std::ops::Deref for ScriptDynamicBundle {
|
|
|
|
type Target = DynamicBundle;
|
|
|
|
|
|
|
|
fn deref(&self) -> &Self::Target {
|
|
|
|
&self.0
|
|
|
|
}
|
2024-09-28 16:32:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SAFETY: todo!()
|
|
|
|
unsafe impl Send for ScriptDynamicBundle {}
|