Trait rustc_type_ir::inherent::DefId

source ·
pub trait DefId<I: Interner>:
    Copy
    + Debug
    + Hash
    + Eq
    + TypeFoldable<I> {
    // Required methods
    fn is_local(self) -> bool;
    fn as_local(self) -> Option<I::LocalDefId>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§