euv_engine/scene/type.rs
1use super::*;
2
3/// A reference-counted, shared-mutable scene trait object.
4///
5/// Holds a `dyn Scene` behind `EngineCell` (an `UnsafeCell`-backed
6/// `Sync` newtype) so the storage matches the rest of the engine's
7/// `static mut` convention. Use [`EngineCell::get_mut`] for
8/// exclusive mutable access.
9pub type SceneRc = Rc<EngineCell<dyn Scene>>;