pub fn map_ref<T, U: ?Sized>( v: RefGuard<'_, T>, f: impl FnOnce(&T) -> &U, ) -> MappedRefGuard<'_, U>
parallel
Map a read guard into a sub-type it contains.