ImplTraitParam in rustdoc::core - Rust (original) (raw)

Enum ImplTraitParam

Source

pub(crate) enum ImplTraitParam {
    DefId(DefId),
    ParamIndex(u32),
}

Expand description

DefId or parameter index (ty::ParamTy.index) of a synthetic type parameter for impl Trait in argument position.

§

§

§

§

§

§

§

§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 8 bytes

Size for each variant: