Function object::pod::from_bytes_mut

source ยท
pub fn from_bytes_mut<T: Pod>(
    data: &mut [u8],
) -> Result<(&mut T, &mut [u8]), ()>
Expand description

Cast a mutable byte slice to a Pod type.

Returns the type and the tail of the slice.