gix_features::threading

Function get_ref

Source
pub fn get_ref<T>(v: &MutableOnDemand<T>) -> RefGuard<'_, T>
Available on crate feature parallel only.
Expand description

Get a shared reference through a MutableOnDemand for read-only access.