I\'d like to have struct members that know their parent. This is approximately what I\'m trying to do:
struct Parent<\'me> {
children: Vec
From the official documentation in "Reference Cycles Can Leak Memory" paragraph:
It is not possible to create cyclic structures with borrowed pointers.
There is not any good way of achieving cyclic data structures at present; the only real solutions are:
*T
).