Function reinterpret::reinterpret_mut_slice[][src]

pub fn reinterpret_mut_slice<T, S>(slice: &mut [T]) -> &mut [S]

Reinterpret a given slice as a slice of another type. This function checks that the resulting slice is appropriately sized.