rustc_
middle
1.82.0
(f6e511eec 2024-10-15)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_
middle::
ty
Trait
rustc_middle
::
ty
::
IsIdentity
Copy item path
source
·
[
−
]
pub trait IsIdentity { // Required method fn
is_identity
(&self) ->
bool
; }
Required Methods
§
source
fn
is_identity
(&self) ->
bool
Implementors
§
source
§
impl<'tcx>
IsIdentity
for
CanonicalUserType
<'tcx>