Derive Hash for PhysicalAddress

This commit is contained in:
Jeremy Soller
2025-11-12 07:36:54 -07:00
parent 7e14945bc5
commit 409a1c02f5
+1 -1
View File
@@ -23,7 +23,7 @@ pub enum TableKind {
}
/// Physical memory address
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
#[repr(transparent)]
pub struct PhysicalAddress(usize);