Derive Hash for PhysicalAddress
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user