Function gfx::core::factory::cast_slice
[−]
pub fn cast_slice<A, B>(slice: &[A]) -> &[B] where A: Copy, B: Copy
Cast a slice from one POD type to another.