rustc_middle::ty::inherent

Trait IntoKind

pub trait IntoKind {
    type Kind;

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

Required Associated Types§

type Kind

Required Methods§

fn kind(self) -> Self::Kind

Implementors§

Source§

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

Source§

type Kind = ConstKind<TyCtxt<'tcx>>

Source§

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

Source§

type Kind = GenericArgKind<TyCtxt<'tcx>>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Kind = RegionKind<TyCtxt<'tcx>>

Source§

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

Source§

type Kind = TermKind<TyCtxt<'tcx>>

Source§

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

Source§

type Kind = TyKind<TyCtxt<'tcx>>