Function gfx_hal::memory::cast_slice

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

Cast a slice from one POD type to another.