Function gpu_alloc::util::arc_unwrap

source ยท
pub(crate) unsafe fn arc_unwrap<M>(arc: Arc<M>) -> M
Expand description

Can be used instead of Arc::try_unwrap(arc).unwrap() when it is guaranteed to succeed.