devela::_dep::bytemuck::allocation

Function cast_slice_rc

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

As try_cast_slice_rc, but unwraps for you.