pub fn arc_unwrap_or_clone<T: Clone>(arc: Arc<T>) -> T
Expand description

Moves the content out of the Arc if possible, otherwise just clones it.