[][src]Function grr::as_u8_slice

pub fn as_u8_slice<T>(data: &[T]) -> &[u8]

View a slice as raw byte slice.

Reinterprets the passed data as raw memory. Be aware of possible packing and aligning rules by Rust compared to OpenGL.