MCPcopy Create free account
hub / github.com/ezrosent/allocators-rs / InitSystem

Interface InitSystem

slab-alloc/src/init.rs:18–65  ·  view source on GitHub ↗

A system to perform initialization of objects. Since slab allocators can either initialize their objects or not, we need a way of abstracting over the logic of keeping track of whether objects are initialized that can be completely optimized away if no initialization (and thus no tracking) is actually being done. `InitSystem` abstracts over the logic of keeping track of whether an object has been

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 1

init.rsslab-alloc/src/init.rs

Calls

no outgoing calls

Tested by

no test coverage detected