object::pod

Function 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.