# Type Alias rustc_middle::ty::PlaceholderType

source ·

    pub type PlaceholderType = Placeholder<BoundTy>;

## Aliased Type§

    struct PlaceholderType {
        pub universe: UniverseIndex,
        pub bound: BoundTy,
    }

## Fields§

§`universe: UniverseIndex`§`bound: BoundTy`

## Trait Implementations§

source§

### impl PlaceholderLike for PlaceholderType

source§

#### fn universe(self) -> UniverseIndex

source§

#### fn var(self) -> BoundVar

source§

#### fn with_updated_universe(self, ui: UniverseIndex) -> Self

source§

#### fn new(ui: UniverseIndex, var: BoundVar) -> Self

## Layout§

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: 20 bytes