Type Alias flux_middle::rty::SubsetTyCtor

source ·
pub type SubsetTyCtor = Binder<SubsetTy>;
Expand description

A type constructor meant to be used as generic a argument of kind base. This is just an alias to Binder<SubsetTy>, but we expect the binder to have a single bound variable of the sort of the underlying base type.

Aliased Type§

struct SubsetTyCtor {
    vars: Interned<[BoundVariableKind]>,
    value: SubsetTy,
}

Fields§

§vars: Interned<[BoundVariableKind]>§value: SubsetTy

Implementations§

source§

impl SubsetTyCtor

source

pub fn as_bty_skipping_binder(&self) -> &BaseTy

source

pub fn to_ty(&self) -> Ty

source

pub fn to_ty_ctor(&self) -> TyCtor