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

pub trait ComputerMut<Key, Value>: 'static + Send + Sync {
    // Required method
    fn compute(&mut self, key: Key) -> Value;
}
Expand description

Something that does an expensive computation that we want to cache to save us from recomputing it each frame.

Required Methods§

fn compute(&mut self, key: Key) -> Value

Implementors§