devela::_dep::bytemuck::allocation

Function cast_arc

pub fn cast_arc<A, B>(input: Arc<A>) -> Arc<B>
Available on crate feature dep_bytemuck only.
Expand description

As try_cast_arc, but unwraps for you.