#rust
Read more stories on Hashnode
Articles with this tag
Before You Read I strongly advise you to read Part 1 if you haven't read it yet. It goes into the basics of self referential structs, how a basic...
TL;DR Use Pin<Box<T>> for the held value (here, Me). Mark Me as unpinnable by setting a field as std::marker::PhantomPinned. Eg, _pinned:...