MCPcopy Create free account
hub / github.com/AdRoll/rustenstein / Cache

Class Cache

src/cache.rs:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157const DATADIR: &str = "data";
158
159pub struct Cache {
160 pics: Vec<Picture>,
161 textures: Vec<Vec<u8>>,
162 sprites: Vec<(CompShape, Vec<u8>)>,
163 sounds: Vec<Vec<u8>>,
164 maps: Vec<Map>,
165}
166
167impl Cache {
168 pub fn new(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected