[rs] Add equality derives to BindGroupLayoutEntry

This commit is contained in:
Marvin Löbel
2020-05-29 22:55:21 +02:00
parent 605fe735b6
commit de5ef8f1f2

View File

@@ -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,