mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
refactor(const_eval): derive Debug for component-wise enums
This commit is contained in:
1 parent
86507f33cd
commit
380387e8e2
1 file changed
+1
@@ -27,6 +27,7 @@ macro_rules! gen_component_wise_extractor {
|
||||
scalar_kinds: [$( $scalar_kind:ident ),* $(,)?],
|
||||
) => {
|
||||
/// A subset of [`Literal`]s intended to be used for implementing numeric built-ins.
|
||||
#[derive(Debug)]
|
||||
enum $target<const N: usize> {
|
||||
$(
|
||||
#[doc = concat!(
|
||||
|
||||
Reference in new issue
Block a user