7 ms·
There are libraries that help with these conversions. See e.g.: https://docs.rs/bytemuck/latest/bytemuck/trait.TransparentWrapper.html https://docs.rs/bytemuck/
by fvncc 1y ago
There are libraries that help with these conversions. See e.g.: https://docs.rs/bytemuck/latest/bytemuck/trait.TransparentWrapper.html https://docs.rs/bytemuck/latest/bytemuck/trait.TransparentWr...