Function bytemuck::internal::from_bytes_mut

source ·
pub(crate) unsafe fn from_bytes_mut<T: Copy>(s: &mut [u8]) -> &mut T
Expand description

Re-interprets &mut [u8] as &mut T.

§Panics

This is try_from_bytes_mut but will panic on error.