rustc_
middle
1.84.0-nightly
(3fee0f12e 2024-11-20)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_
middle::
ty::
typeck_
results
rustc_middle
::
ty
::
typeck_results
Trait
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>