ParamLike in rustc_infer::infer::canonical::ir::inherent - Rust
Description: API documentation for the Rust `ParamLike` trait in crate `rustc_infer`.

Skip to main content

## ParamLike

# Trait ParamLike

Source

    pub trait ParamLike:
        Copy
        + Debug
        + Hash
        + Eq {
        // Required method
        fn index(self) -> u32;
    }

## Required Methods§

Source

#### fn index(self) -> u32

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementations on Foreign Types§

Source§

### impl ParamLike for EarlyParamRegion

Source§

#### fn index(self) -> u32

Source§

### impl ParamLike for ParamConst

Source§

#### fn index(self) -> u32

Source§

### impl ParamLike for ParamTy

Source§

#### fn index(self) -> u32

## Implementors§