[][src]Trait rustc_ap_rustc_data_structures::functor::IdFunctor

pub trait IdFunctor {
    type Inner;
    pub fn map_id<F>(self, f: F) -> Self
    where
        F: FnMut(Self::Inner) -> Self::Inner
; }

Associated Types

Loading content...

Required methods

pub fn map_id<F>(self, f: F) -> Self where
    F: FnMut(Self::Inner) -> Self::Inner
[src]

Loading content...

Implementations on Foreign Types

impl<T> IdFunctor for Box<T>[src]

type Inner = T

impl<T> IdFunctor for Vec<T>[src]

type Inner = T

impl<T> IdFunctor for Box<[T]>[src]

type Inner = T

impl<I: Idx, T> IdFunctor for IndexVec<I, T>[src]

type Inner = T

Loading content...

Implementors

Loading content...