lokacore
pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B
As try_cast_ref, but unwraps the result for you.
try_cast_ref