Trait IdFunctor
rustc_ap_rustc_data_structures::functor
pub trait IdFunctor { type Inner; fn map_id<F>(self, f: F) -> Self where F: FnMut(Self::Inner) -> Self::Inner; }
type Inner
fn map_id<F>(self, f: F) -> Self where F: FnMut(Self::Inner) -> Self::Inner,
impl<T> IdFunctor for Box<T>
type Inner = T
impl<T> IdFunctor for Vec<T>
impl<T> IdFunctor for Box<[T]>
impl<I: Idx, T> IdFunctor for IndexVec<I, T>