pub unsafe fn slice_as_bytes<T>(slice: &[T]) -> &[u8] ⓘ
The type T should be plain old data so there is no worry about Drop behavior in the transmutation.
T