From 64b765947a4de744ec0cc5dad4c86ef79bc6279e Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Thu, 9 Apr 2020 00:55:45 -0230 Subject: [PATCH] Derive `Default` for `CommandEncoderDescriptor` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 729074915d..74d2fb3044 100644 --- a/src/lib.rs +++ b/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.