Skip to content

[deno] type property of WebGPU objects cannot be declared in Rust #7778

@andyleiserson

Description

@andyleiserson

WebGPU GPUQuerySet and GPUCompilationMessage objects have a type property. Because type is a Rust reserved word, it is not possible to declare a getter for this property directly, and because of denoland/deno_core#1142, it is not possible to declare it with the raw identifier r#type. For now, I am defining a custom getter for this property in Javascript.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions