Function grr::as_u8_slice

source ·
pub fn as_u8_slice<T>(data: &[T]) -> &[u8] 
Expand description

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.