[][src]Function reinterpret::reinterpret_slice

pub unsafe fn reinterpret_slice<T, S>(slice: &[T]) -> &[S]

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