Function object::pod::bytes_of

source ·
pub fn bytes_of<T: Pod>(val: &T) -> &[u8] 
Expand description

Cast a Pod type to a byte slice.