cl_typeck/
handle.rs

1//! A [Handle] uniquely represents an entry in the [Table](crate::table::Table)
2
3use cl_structures::index_map::*;
4
5// define the index types
6make_index! {
7    /// Uniquely represents an entry in the [Table](crate::table::Table)
8    Handle,
9}
10
11impl std::fmt::Display for Handle {
12    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
13        self.0.fmt(f)
14    }
15}