rustc_
middle
1.85.0-nightly
(426d17342 2024-12-21)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_
middle::
ty
rustc_middle
::
ty
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>