Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pixel_fcker
· 5y ago · 0 comments
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.
Comments
[–]
antonin42
5y ago
I don’t know enough about Rust I always think about passing these self referencing structure by reference in other languages.