charon_lib::ast::types

Type Alias TypeDbVar

source
pub type TypeDbVar = DeBruijnVar<TypeVarId>;

Aliased Type§

enum TypeDbVar {
    Bound(DeBruijnId, TypeVarId),
    Free(TypeVarId),
}

Variants§

§

Bound(DeBruijnId, TypeVarId)

A variable attached to the nth binder, counting from the innermost.

§

Free(TypeVarId)

A variable attached to the outermost binder (the one on the item). As explained above, This is not used in charon internals, only as a micro-pass before exporting the crate data.