Function object::pod::slice_from_bytes_mut
source · [−]pub fn slice_from_bytes_mut<T: Pod>(
data: &mut [u8],
count: usize
) -> Result<(&mut [T], &mut [u8]), ()>
Expand description
Cast a mutable byte slice to a slice of a Pod
type.
Returns the type slice and the tail of the byte slice.