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