[rs] Derive Default for CommandEncoderDescriptor

This commit is contained in:
Joshua Groves
2020-04-09 00:55:45 -02:30
parent d1efc5d028
commit 0fb2e78651

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.