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

12 lines
242 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
}
}