Function gix_features::threading::map_ref

source ยท
pub fn map_ref<T, U: ?Sized>(
    v: RefGuard<'_, T>,
    f: impl FnOnce(&T) -> &U
) -> MappedRefGuard<'_, U>
Available on crate feature parallel only.
Expand description

Map a read guard into a sub-type it contains.