Trait rustc_middle::ty::IntoKind

source ·
pub trait IntoKind {
    type Kind;

    // Required method
    fn kind(self) -> Self::Kind;
}

Required Associated Types§

Required Methods§

source

fn kind(self) -> Self::Kind

Implementors§

source§

impl<'tcx> IntoKind for Const<'tcx>

§

type Kind = ConstKind<TyCtxt<'tcx>>

source§

impl<'tcx> IntoKind for Region<'tcx>

§

type Kind = RegionKind<TyCtxt<'tcx>>

source§

impl<'tcx> IntoKind for Ty<'tcx>

§

type Kind = TyKind<TyCtxt<'tcx>>