impl traits required for maps for idxes

This commit is contained in:
TheZoq2 2022-12-22 18:11:19 +01:00
parent 540ed13e2c
commit b162d67a9d

View file

@ -29,10 +29,10 @@ pub struct Metadata {
} }
// We do a lot of arena allocation in this codebase. // We do a lot of arena allocation in this codebase.
#[derive(Debug, Copy, Clone, PartialEq)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct ScopeIdx(pub usize); pub struct ScopeIdx(pub usize);
#[derive(Debug, Copy, Clone, PartialEq)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct SignalIdx(pub usize); pub struct SignalIdx(pub usize);
#[derive(Debug)] #[derive(Debug)]