Skip to content

Commit dba468f

Browse files
hikitrbogithubrukai
authored andcommitted
Hash for Format (#1170)
Added derive Hash for Format
1 parent 912abdf commit dba468f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: vulkano/src/format.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ pub unsafe trait AcceptsPixels<T> {
176176
macro_rules! formats {
177177
($($name:ident => $vk:ident [$sz:expr] [$($f_ty:tt)*] {$($d_ty:tt)*},)+) => (
178178
/// An enumeration of all the possible formats.
179-
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
179+
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
180180
#[repr(u32)]
181181
#[allow(missing_docs)]
182182
#[allow(non_camel_case_types)]

0 commit comments

Comments
 (0)