rustc_middle::ty::inherent

Trait 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>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

type Kind = TyKind<TyCtxt<'tcx>>