Hacker News new | ask | show | jobs
by pixel_fcker 1751 days ago
The problem with self-references is that if you move the containing struct then the reference is now invalid. Pinning the object so it can’t move works around this.
1 comments

I don’t know enough about Rust I always think about passing these self referencing structure by reference in other languages.