Struct feo_oop_engine::scripting::globals::EngineGlobals
source · [−]pub struct EngineGlobals {
pub queue: Arc<Queue>,
pub surface: Arc<Surface<Window>>,
pub scene: Arc<RwLock<Scene>>,
pub event_loop_proxy: Arc<Mutex<EventLoopProxy<UserEvent<Arc<dyn Any + Send + Sync + 'static>>>>>,
pub id_system: IDSystem,
}Fields
queue: Arc<Queue>surface: Arc<Surface<Window>>scene: Arc<RwLock<Scene>>event_loop_proxy: Arc<Mutex<EventLoopProxy<UserEvent<Arc<dyn Any + Send + Sync + 'static>>>>>id_system: IDSystemTrait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EngineGlobals
impl Send for EngineGlobals
impl Sync for EngineGlobals
impl Unpin for EngineGlobals
impl !UnwindSafe for EngineGlobals
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.