Function bytemuck::allocation::try_cast_box
source · pub fn try_cast_box<A: NoUninit, B: AnyBitPattern>(
input: Box<A>
) -> Result<Box<B>, (PodCastError, Box<A>)>
pub fn try_cast_box<A: NoUninit, B: AnyBitPattern>(
input: Box<A>
) -> Result<Box<B>, (PodCastError, Box<A>)>