@iliazeus @lina Does `std::mem::ManuallyDrop` do this? Or do you mean forbid it at the type level?
doc.rust-lang.org/std/mem/stru
Edit: nvm, just saw your follow-up to that StackOverflow link