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