pub type AssetPending = Rc<EngineCell<u32>>;Expand description
A shared counter of loads that have been requested but not yet settled.
Held behind EngineCell so the onload / onerror closures — which own
only a Weak back-reference to the loader’s state — can decrement it
without borrowing the loader. Making the counter itself the single source
of truth is what keeps is_all_loaded from sticking at false
forever: there is no separate pending_count field that a callback
could forget to update.
Aliased Type§
pub struct AssetPending { /* private fields */ }