[][src]Function lokacore::cast_ref

pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B

As try_cast_ref, but unwraps the result for you.