Derive Default for CommandEncoderDescriptor

This commit is contained in:
Joshua Groves
2020-04-09 00:55:45 -02:30
parent efe44f616c
commit 64b765947a

View File

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