rustc_
middle
1.84.0-beta.4
(202008a1b 2024-12-07)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_
middle::
ty
rustc_middle
::
ty
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>