4 ms·
Ghost-cell [0] also lets you create a doubly-linked lists (without you having to use unsafe code, and with no overhead) [0]: https://crates.io/crates/ghost-cel
by ChadNauseam 4y ago
Ghost-cell [0] also lets you create a doubly-linked lists (without you having to use unsafe code, and with no overhead)
[0]: https://crates.io/crates/ghost-cell https://crates.io/crates/ghost-cell
- xavxav 4y agoYea but it’s not really useable in practice as it heavily relies on nesting allocations in closures to simulate “generative lifetimes”. It’s a research artifact, not meant for serious usage. Instead, I would recommend using something like https://crates.io/crates/qcell https://crates.io/crates/qcell, which works on similar principles.