mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[rs] Merge #249
249: Derive `Default` for `CommandEncoderDescriptor` r=kvark a=grovesNL Fixes #243 Co-authored-by: Joshua Groves <josh@joshgroves.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user