pub fn cast_mut<A, B>(a: &mut A) -> &mut Bwhere A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern,
dep_bytemuck
Cast &mut A into &mut B.
&mut A
&mut B
This is try_cast_mut but will panic on error.
try_cast_mut