Function object::pod::bytes_of_slice [−][src]
pub fn bytes_of_slice<T: Pod>(val: &[T]) -> &[u8]
Expand description
Cast a slice of a Pod
type to a byte slice.
pub fn bytes_of_slice<T: Pod>(val: &[T]) -> &[u8]
Cast a slice of a Pod
type to a byte slice.