Relative Content

Tag Archive for rustdependencieslifetimeunsafe

Parent/Child relationships in Rust without lifetime pollution

I’ve got a reasonably complex app that is subdivided into a small number of reasonably complex, highly-interdependent structs. Right now we just have Arcs and Weaks spread around pretty haphazardly. I’d love to remove them, and assume there’s a better way to accomplish what I’m trying to do, but haven’t quite found a good solution yet.