Function bytemuck::try_from_bytes[][src]

pub fn try_from_bytes<T: Pod>(s: &[u8]) -> Result<&T, PodCastError>

Re-interprets &[u8] as &T.

Failure