Function object::pod::bytes_of_slice

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

Cast a slice of a Pod type to a byte slice.