From 7f71c51ec6b070faa587d38a5f4f33d6b4e217bb Mon Sep 17 00:00:00 2001 From: dzil123 <5725958+dzil123@users.noreply.github.com> Date: Fri, 23 Apr 2021 03:49:36 -0700 Subject: [PATCH] Derive Default for PipelineLayoutDescriptor --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 06382dc3e..c59af3839 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1086,7 +1086,7 @@ pub struct TextureViewDescriptor<'a> { /// Describes a pipeline layout. /// /// A `PipelineLayoutDescriptor` can be used to create a pipeline layout. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] pub struct PipelineLayoutDescriptor<'a> { /// Debug label of the pipeline layout. This will show up in graphics debuggers for easy identification. pub label: Label<'a>,