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