Function bytemuck::allocation::try_cast_box [−][src]
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>)>