Function gfx::memory::cast_slice [] [src]

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

Cast a slice from one POD type to another.