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", so this trait is not object safe.

## 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§