Function gfx_core::memory::cast_slice [] [src]

pub fn cast_slice<A: Pod, B: Pod>(slice: &[A]) -> &[B]

Cast a slice from one POD type to another.