SpecificDefId in rustc_type_ir::inherent - Rust
Description: API documentation for the Rust `SpecificDefId` trait in crate `rustc_type_ir`.

Skip to main content

## SpecificDefId

# Trait SpecificDefId

Source

    pub trait SpecificDefId<I: Interner, Local = <I as Interner>::LocalDefId>:
        DefId<I, Local>
        + Into<I::DefId>
        + TryFrom<I::DefId, Error: Debug> { }

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

## Implementors§

Source§

### impl<I: Interner, T: DefId<I, Local> + Into<I::DefId> + TryFrom<I::DefId, Error: Debug>, Local> SpecificDefId<I, Local> for T