Function bytemuck::allocation::cast_arc
source · pub fn cast_arc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
input: Arc<A>
) -> Arc<B>
Expand description
As try_cast_arc
, but unwraps for you.
pub fn cast_arc<A: NoUninit + AnyBitPattern, B: NoUninit + AnyBitPattern>(
input: Arc<A>
) -> Arc<B>
As try_cast_arc
, but unwraps for you.