Function bytemuck::try_cast_ref[][src]

pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError>

Try to convert a &T into &U.

Failure