pub type AliasTy<'tcx> = AliasTy<TyCtxt<'tcx>>;Aliased Type§
pub struct AliasTy<'tcx> {
pub args: &'tcx RawList<(), GenericArg<'tcx>>,
pub kind: AliasTyKind<TyCtxt<'tcx>>,
/* private fields */
}Fields§
§args: &'tcx RawList<(), GenericArg<'tcx>>The parameters of the associated or opaque type.
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.
kind: AliasTyKind<TyCtxt<'tcx>>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