pub fn cast_ref<A: NoUninit, B: AnyBitPattern>(a: &A) -> &B
Cast &T into &U.
&T
&U
This is try_cast_ref but will panic on error.
try_cast_ref