/// A cache, storing some value for some length of time.
#[expect(clippy::len_without_is_empty)]pubtraitCacheTrait: 'static + Send + Sync {/// Call once per frame to evict cache.
fnupdate(&mutself);/// Number of values currently in the cache.
fnlen(&self)->usize;fnas_any_mut(&mutself)->&mut dyn std::any::Any;}