News for hackers. Stuff that matters.
Re:Rust Ownership Rules by zozbot234 on Monday March 02, 2020 @09:10AM (#22464558)
> If you have a class where this doesn't work (e.g. because it contains pointers into its own footprint) then you either need to refactor your class for Rust (e.g. change those pointers to offsets) or disable the move trait entirely and provide a utility function for move-like creation.

There's an unofficial 'transfer' crate that does provide this behavior if needed, fwiw.

There are no comments on this comment yet.