Skip to content

Commit 3b387d3

Browse files
authored
Implement Hash on the MemoryLocation enum (#95)
1 parent ddb86e4 commit 3b387d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ pub mod vulkan;
164164
#[cfg(all(windows, feature = "d3d12"))]
165165
pub mod d3d12;
166166

167-
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
167+
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
168168
pub enum MemoryLocation {
169169
/// The allocated resource is stored at an unknown memory location; let the driver decide what's the best location
170170
Unknown,

0 commit comments

Comments
 (0)