MCPcopy Create free account
hub / github.com/EbTech/rust-algorithms / new

Method new

src/caching.rs:37–42  ·  view source on GitHub ↗

Constuctor for the Casher # Examples ``` # use contest_algorithms::caching::Cacher; let mut squared = Cacher::new(|n: u32| n*n); ```

(calculation: F)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected