pub trait HasHirId: Copy {
// Required method
fn hir_id(self) -> HirId;
}Expand description
Either a HirId or a type which can be identified by one.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".