Trait rustc_infer::infer::canonical::ir::inherent::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

Implementations on Foreign Types§

source§

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

§

type Kind = ConstKind<TyCtxt<'tcx>>

source§

fn kind(self) -> ConstKind<TyCtxt<'tcx>>

source§

impl<'tcx> IntoKind for GenericArg<'tcx>

source§

impl<'tcx> IntoKind for Clause<'tcx>

§

type Kind = Binder<TyCtxt<'tcx>, ClauseKind<TyCtxt<'tcx>>>

source§

fn kind(self) -> Binder<TyCtxt<'tcx>, ClauseKind<TyCtxt<'tcx>>>

source§

impl<'tcx> IntoKind for Predicate<'tcx>

§

type Kind = Binder<TyCtxt<'tcx>, PredicateKind<TyCtxt<'tcx>>>

source§

fn kind(self) -> Binder<TyCtxt<'tcx>, PredicateKind<TyCtxt<'tcx>>>

source§

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

§

type Kind = RegionKind<TyCtxt<'tcx>>

source§

fn kind(self) -> RegionKind<TyCtxt<'tcx>>

source§

impl<'tcx> IntoKind for Term<'tcx>

§

type Kind = TermKind<TyCtxt<'tcx>>

source§

fn kind(self) -> TermKind<TyCtxt<'tcx>>

source§

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

§

type Kind = TyKind<TyCtxt<'tcx>>

source§

fn kind(self) -> TyKind<TyCtxt<'tcx>>

Implementors§