devela::_dep::bytemuck

Function cast_slice_arc

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

As try_cast_slice_arc, but unwraps for you.