mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
refactor(const_eval): derive Debug for component-wise enums
This commit is contained in:
@@ -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