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