pub fn ref_filter_map<T: ?Sized, U: ?Sized, F: FnOnce(&T) -> Option<&U>>( orig: Ref<'_, T>, f: F, ) -> Option<Ref<'_, U>>