Skip to main content

rustc_type_ir/intern/
mod.rs

1use std::hash::Hash;
2
3use crate::fmt::Debug;
4
5pub trait Interned<I>: Copy + Debug + Hash + Eq + PartialEq {
6    type Value;
7    fn get(self) -> Self::Value;
8}