rustc_middle
1.82.0-dev
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>