bytemuck::allocation

Function 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.