rustc_middle
1.79.0-nightly
(e3181b091 2024-04-18)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_middle::ty
?
Settings
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>