pub trait GPUQueueMethods<D: DomTypes> {
// Required methods
fn Submit(&self, buffers: Vec<Root<Dom<GPUCommandBuffer>>>);
fn OnSubmittedWorkDone(&self, _can_gc: CanGc) -> Rc<Promise>;
fn WriteBuffer(
&self,
buffer: &GPUBuffer,
bufferOffset: u64,
data: ArrayBufferViewOrArrayBuffer,
dataOffset: u64,
size: Option<u64>,
) -> Result<(), Error>;
fn WriteTexture(
&self,
destination: &GPUImageCopyTexture,
data: ArrayBufferViewOrArrayBuffer,
dataLayout: &GPUImageDataLayout,
size: RangeEnforcedUnsignedLongSequenceOrGPUExtent3DDict,
) -> Result<(), Error>;
fn Label(&self) -> USVString;
fn SetLabel(&self, value: USVString);
}