Function gfx_core::factory::cast_slice [] [src]

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

Cast a slice from one POD type to another.