rustc_
middle
1.84.0-nightly
(86d69c705 2024-10-22)
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>