Trait rustc::hir::GenericParamsExt[][src]

pub trait GenericParamsExt {
    fn lifetimes<'a>(
        &'a self
    ) -> FilterMap<Iter<GenericParam>, fn(_: &GenericParam) -> Option<&LifetimeDef>>;
fn ty_params<'a>(
        &'a self
    ) -> FilterMap<Iter<GenericParam>, fn(_: &GenericParam) -> Option<&TyParam>>; }
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Required Methods

Important traits for FilterMap<I, F>

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Important traits for FilterMap<I, F>

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Implementations on Foreign Types

impl GenericParamsExt for [GenericParam]
[src]

Important traits for FilterMap<I, F>

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Important traits for FilterMap<I, F>

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Implementors