Wow, I haven't practiced #RustLang in a while and re-growing pains are kinda killing me.
Doesn't help that I tried to make something that's apparently impossible to do in safe Rust.
@art_rbpyjs What are you trying to do?
@feoh I'm still mostly just playing with Rust. I tried to see if I could use Rc or rc::Weak to make a "circular" data structure, where an object owns its "children" and then each child has a reference to its "parent".
@art_rbpyjs Ah! Isn't the language designed to prevent you from doing that exact thing? :)
@feoh It kinda is, with the whole references thing... That's why I thought I could do it with weak refs. But then I realized you needed an RC to make an rc::Weak... And it leads to a whole new heap of complications.
Also you can technically relegate it all to runtime with Rc<Cell<T>>