[][src]Function rendy::util::cast_slice

pub fn cast_slice<T>(slice: &[T]) -> &[u8]

Cast slice of some arbitrary type into slice of bytes.