gpu_alloc::util

Function is_arc_unique

Source
pub(crate) fn is_arc_unique<M>(arc: &mut Arc<M>) -> bool
Expand description

Guarantees uniqueness only if Weak pointers are never created from this Arc or clones.