Function try_cast_box
pub fn try_cast_box<A, B>(
input: Box<A>,
) -> Result<Box<B>, (PodCastError, Box<A>)> ⓘwhere
A: NoUninit,
B: AnyBitPattern,
Available on crate feature
dep_bytemuck
only.pub fn try_cast_box<A, B>(
input: Box<A>,
) -> Result<Box<B>, (PodCastError, Box<A>)> ⓘwhere
A: NoUninit,
B: AnyBitPattern,
dep_bytemuck
only.