mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
refactor(const_eval): derive PartialEq
for testing in component-wise enum
s
This commit is contained in:
parent
380387e8e2
commit
3650f90079
@ -28,6 +28,7 @@ macro_rules! gen_component_wise_extractor {
|
||||
) => {
|
||||
/// A subset of [`Literal`]s intended to be used for implementing numeric built-ins.
|
||||
#[derive(Debug)]
|
||||
#[cfg_attr(test, derive(PartialEq))]
|
||||
enum $target<const N: usize> {
|
||||
$(
|
||||
#[doc = concat!(
|
||||
|
Loading…
Reference in New Issue
Block a user