lyra-engine/lyra-scripting/src/wrap.rs

12 lines
242 B
Rust
Raw Normal View History

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
}
}