Derive Default for PipelineLayoutDescriptor

This commit is contained in:
dzil123 committed 2021-04-23 03:49:36 -07:00
1 parent c5ce55d003
commit 7f71c51ec6
1 file changed
+1 -1
+1 -1
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>,