diff options
Diffstat (limited to 'components/script/dom/gpucomputepipeline.rs')
-rw-r--r-- | components/script/dom/gpucomputepipeline.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/components/script/dom/gpucomputepipeline.rs b/components/script/dom/gpucomputepipeline.rs index 518e826a4af..2795e6fa253 100644 --- a/components/script/dom/gpucomputepipeline.rs +++ b/components/script/dom/gpucomputepipeline.rs @@ -2,6 +2,11 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +use std::string::String; + +use dom_struct::dom_struct; +use webgpu::{WebGPUBindGroupLayout, WebGPUComputePipeline}; + use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::GPUComputePipelineBinding::GPUComputePipelineMethods; use crate::dom::bindings::error::{Error, Fallible}; @@ -11,9 +16,6 @@ use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; use crate::dom::gpubindgrouplayout::GPUBindGroupLayout; use crate::dom::gpudevice::GPUDevice; -use dom_struct::dom_struct; -use std::string::String; -use webgpu::{WebGPUBindGroupLayout, WebGPUComputePipeline}; #[dom_struct] pub struct GPUComputePipeline { |