pub type BoundRegionKind<'tcx> = BoundRegionKind<TyCtxt<'tcx>>;Aliased Type§
pub enum BoundRegionKind<'tcx> {
Anon,
NamedForPrinting(Symbol),
Named(DefId),
ClosureEnv,
}Variants§
Anon
An anonymous region parameter for a given fn (&T)
NamedForPrinting(Symbol)
An anonymous region parameter with a Symbol name.
Used to give late-bound regions names for things like pretty printing.
Named(DefId)
Late-bound regions that appear in the AST.
ClosureEnv
Anonymous region for the implicit env pointer parameter to a closure
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.