Function gfx::memory::cast_slice

source ·
pub fn cast_slice<A, B>(slice: &[A]) -> &[B] where
    A: Pod,
    B: Pod,
Expand description

Cast a slice from one POD type to another.