Skip to main content

rustc_type_ir/intern/
mod.rs

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