Skip to main content

KeySelector

Type Alias KeySelector 

Source
pub type KeySelector<T, K> = Rc<dyn Fn(&T) -> K>;
Expand description

The key selector of a cache (Func<TObject, TKey>).

Aliased Typeยง

pub struct KeySelector<T, K> { /* private fields */ }