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

Implementations on Foreign Types§

Source§

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

Source§

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>

Source§

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>

Source§

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

Source§

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

Source§

type Kind = TermKind<TyCtxt<'tcx>>

Source§

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

Source§

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

Source§

type Kind = TyKind<TyCtxt<'tcx>>

Source§

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

Implementors§