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

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
where
    B: Pod,
    A: Pod

Cast a slice from one POD type to another.