Trait rerun::external::eframe::egui::util::cache::CacheTrait

pub trait CacheTrait: 'static + Send + Sync {
    // Required methods
    fn update(&mut self);
    fn len(&self) -> usize;
    fn as_any_mut(&mut self) -> &mut (dyn Any + 'static);
}

Required Methods§

fn update(&mut self)

Call once per frame to evict cache.

fn len(&self) -> usize

Number of values currently in the cache.

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Implementors§

§

impl<Value, Computer> CacheTrait for FrameCache<Value, Computer>
where Value: 'static + Send + Sync, Computer: 'static + Send + Sync,