15 lines
306 B
Rust
15 lines
306 B
Rust
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
|
|
}
|
|
}
|
|
|
|
// SAFETY: todo!()
|
|
unsafe impl Send for ScriptDynamicBundle {} |