IsIdentity
rustc_
middle
1.85.0
(4d91de4e4 2025-02-17)
IsIdentity
Required Methods
is_identity
Implementors
In rustc_
middle::
ty::
typeck_
results
Structs
CanonicalUserTypeAnnotation
LocalSetInContext
LocalSetInContextMut
LocalTableInContext
LocalTableInContextMut
Rust2024IncompatiblePatInfo
TypeckResults
UserType
UserTypeAnnotationIndex
Enums
UserTypeKind
Constants
START_INDEX
Traits
IsIdentity
Functions
invalid_hir_id_for_typeck_results
validate_hir_id_for_typeck_results
Type Aliases
CanonicalUserType
CanonicalUserTypeAnnotations
rustc_middle
::
ty
::
typeck_results
Trait
IsIdentity
Copy item path
Settings
Help
Summary
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>