rustc_middle
1.80.0-nightly
(faefc618c 2024-05-07)
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>