diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 06382dc3e4..c59af38392 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/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>,