webgpu_traits/messages/to_dom.rs
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5//! IPC messages that are sent to WebGPU DOM objects.
6
7use crate::{DeviceDescriptor, RequestDeviceError, WebGPUDevice, WebGPUQueue};
8
9pub type WebGPUDeviceResponse = (
10 WebGPUDevice,
11 WebGPUQueue,
12 Result<DeviceDescriptor<Option<String>>, RequestDeviceError>,
13);