Crate function_cache

Source
Expand description

§function_cache

A type that automatically caches the result of a function.

Structs§

CachedFunction
Wraps an immutable function such that the results of its invocation are cached to a HashMap<TInput, TReturn>.