From 0fb2e786514c55b894aa8f778cbcd9c0908c94c2 Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Thu, 9 Apr 2020 00:55:45 -0230 Subject: [PATCH] [rs] Derive `Default` for `CommandEncoderDescriptor` --- wgpu/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 729074915d..74d2fb3044 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -476,7 +476,7 @@ pub struct BufferDescriptor<'a> { } /// A description of a command encoder. -#[derive(Clone, Debug, PartialEq, Eq, Hash)] +#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)] pub struct CommandEncoderDescriptor<'a> { /// An optional label to apply to the command encoder. /// This can be useful for debugging and performance analysis.