249: Derive `Default` for `CommandEncoderDescriptor` r=kvark a=grovesNL

Fixes #243

Co-authored-by: Joshua Groves <josh@joshgroves.com>
This commit is contained in:
bors[bot]
2020-04-09 13:29:16 +00:00
committed by GitHub

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.