rustc_
infer
1.85.0-nightly
(5f23ef7d3 2024-12-20)
Into
Kind
Required Associated Types
Kind
Required Methods
kind
Implementations on Foreign Types
Clause<'tcx>
Const<'tcx>
GenericArg<'tcx>
Predicate<'tcx>
Region<'tcx>
Term<'tcx>
Ty<'tcx>
Implementors
In rustc_
infer::
infer::
canonical::
ir::
inherent
rustc_infer
::
infer
::
canonical
::
ir
::
inherent
Trait
IntoKind
Copy item path
Source
pub trait IntoKind { type
Kind
; // Required method fn
kind
(self) -> Self::
Kind
; }
Required Associated Types
§
Source
type
Kind
Required Methods
§
Source
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
§
type
Kind
=
GenericArgKind
<
TyCtxt
<'tcx>>
Source
§
fn
kind
(self) ->
GenericArgKind
<
TyCtxt
<'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
§
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>
Source
§
type
Kind
=
RegionKind
<
TyCtxt
<'tcx>>
Source
§
fn
kind
(self) ->
RegionKind
<
TyCtxt
<'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
§