cast_slice

Function cast_slice 

Source
pub fn cast_slice<T>(slice: &[T]) -> &[u8] 
Expand description

Cast slice of some arbitrary type into slice of bytes.