blob: 287551cc6de5ca0953d81c296494f2cf95c214e1 [file]
use core::{fmt::Debug, hash::Hash};
use crate::slab::id::EntryId;
pub trait Key: Debug + Copy + Clone + PartialEq + Eq + PartialOrd + Ord + Hash {
fn from_id(id: EntryId) -> Self;
fn into_id(self) -> EntryId;
}