value_as_u8_slice

Function value_as_u8_slice 

Source
pub fn value_as_u8_slice<T: Sized + Pod>(v: &T) -> &[u8] 
Expand description

“Transmutes” value of any sized type to a slice of bytes.