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