rustc_
middle
1.83.0-beta.5
(eb6e3fa1a 2024-11-08)
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>