diff --git a/src/core/src/encodings.rs b/src/core/src/encodings.rs index 733831e49c..8375699cb0 100644 --- a/src/core/src/encodings.rs +++ b/src/core/src/encodings.rs @@ -20,7 +20,7 @@ pub type Idx = u32; type IdxTracker = (vec_collections::VecSet<[Idx; 8]>, u64); type ColorToIdx = HashMap>; -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[cfg_attr( feature = "rkyv", derive(rkyv::Serialize, rkyv::Deserialize, rkyv::Archive)