Skip to main content

SceneRc

Type Alias SceneRc 

Source
pub type SceneRc = Rc<EngineCell<dyn Scene>>;
Expand description

A reference-counted, shared-mutable scene trait object.

Holds a dyn Scene behind EngineCell (an UnsafeCell-backed Sync newtype) so the storage matches the rest of the engine’s static mut convention. Use EngineCell::get_mut for exclusive mutable access.

Aliased Type§

pub struct SceneRc { /* private fields */ }