From dd087b810ec33ed79989f18f0d4a935a92f5e823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20L=C3=B6bel?= Date: Fri, 29 May 2020 22:55:21 +0200 Subject: [PATCH] Add equality derives to `BindGroupLayoutEntry` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 89cd49d55b..1ee757ff6c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -677,7 +677,7 @@ pub enum BindingType { } /// A description of a single binding inside a bind group. -#[derive(Clone, Debug, Hash)] +#[derive(Clone, Debug, Hash, PartialEq, Eq)] pub struct BindGroupLayoutEntry { pub binding: u32, pub visibility: ShaderStage,