Trait dep_obj::binding::SourceCache
source · [−]pub trait SourceCache<T: Convenient>: Default + Debug {
type Value: Convenient;
fn update(&mut self, value: T);
fn get(&self, current: Option<T>) -> Option<Self::Value>;
}
Expand description
A value caching strategy.