Skip to main content

AliasTerm

Type Alias AliasTerm 

Source
pub type AliasTerm<I> = Alias<I, AliasTermKind<I>>;

Aliased Type§

pub struct AliasTerm<I> {
    pub kind: AliasTermKind<I>,
    pub args: <I as Interner>::GenericArgs,
    /* private fields */
}

Fields§

§kind: AliasTermKind<I>§args: <I as Interner>::GenericArgs

The parameters of the associated, opaque, or constant alias.

For a projection, these are the generic parameters for the trait and the GAT parameters, if there are any.

For an inherent projection, they consist of the self type and the GAT parameters, if there are any.

For RPIT the generic parameters are for the generics of the function, while for TAIT it is used for the generic parameters of the alias.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.