Function fyrox_core::array_as_u8_slice
source · pub fn array_as_u8_slice<T: Sized>(v: &[T]) -> &[u8] ⓘ
Expand description
“Transmutes” array of any sized type to a slice of bytes.
pub fn array_as_u8_slice<T: Sized>(v: &[T]) -> &[u8] ⓘ
“Transmutes” array of any sized type to a slice of bytes.