[rs] Derive Default for PipelineLayoutDescriptor

This commit is contained in:
dzil123
2021-04-23 03:49:36 -07:00
parent 7058299954
commit 360c3b3352

View File

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