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

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

Cast a slice from one POD type to another.