rustc_
trait_
selection
1.84.0-dev
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_
trait_
selection::
infer::
canonical::
ir::
inherent
rustc_trait_selection
::
infer
::
canonical
::
ir
::
inherent
Trait
IntoKind
Copy item path
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
§
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
§