> As far as I can tell, any time you want to rely on the exact binary layout of something in memory, you need unsafe. As a corollary, any time you want to bit cast from one type to another, you need unsafe.
No, that's what bytemuck is for. If bytemuck didn't exist, sure, I'd be using a lot of unsafe.