pub type AliasTerm<'tcx> = AliasTerm<TyCtxt<'tcx>>;Aliased Type§
pub struct AliasTerm<'tcx> {
pub kind: AliasTermKind<TyCtxt<'tcx>>,
pub args: &'tcx RawList<(), GenericArg<'tcx>>,
/* private fields */
}Fields§
§kind: AliasTermKind<TyCtxt<'tcx>>§args: &'tcx RawList<(), GenericArg<'tcx>>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.
Trait Implementations§
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: 24 bytes