Module id

Source
Expand description

An opaque handle used to read, modify or remove an element from an RwStore once it has been inserted.

When debug assertions are enabled, IDs will consume more memory to track the store that created them.

§Example

let store = RwStore::new();
let id_a = store.insert(42);
let id_b = store.insert(42);

Structs§

Id
An opaque handle used to read, modify or remove an element from an RwStore once it has been inserted. See the module-level documentation for more.