pub fn try_transmute_mut<Src, Dst>(
src: &mut Src,
) -> Result<&mut Dst, ValidityError<&mut Src, Dst>>Expand description
Attempts to transmute &mut Src into &mut Dst.
A helper for try_transmute_mut!.
ยงPanics
try_transmute_mut may either produce a post-monomorphization error or a
panic if Dst is bigger or has a stricter alignment requirement than Src.
Otherwise, try_transmute_mut panics under the same circumstances as
is_bit_valid.