News for hackers. Stuff that matters.
Re:Librsvg now requires Rust by the_duke on Wednesday January 04, 2017 @06:27PM (#13323135)
The problems lie both in the lack of field inheritance (something talked about in Rust as "virtual structs") and the difficulties with modeling a bi-directional tree structure with the borrow checker.
Re:Librsvg now requires Rust by eridius on Wednesday January 04, 2017 @06:31PM (#13323173)
For the bi-directional tree structure, it seems to me you could use Rc<Widget> for the children and rc::Weak<Widget> for the parent field.