diff options
Diffstat (limited to 'components/script/dom/gpusampler.rs')
-rw-r--r-- | components/script/dom/gpusampler.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/gpusampler.rs b/components/script/dom/gpusampler.rs index 9574be119bf..670d3fec896 100644 --- a/components/script/dom/gpusampler.rs +++ b/components/script/dom/gpusampler.rs @@ -2,14 +2,15 @@ * 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 dom_struct::dom_struct; +use webgpu::{WebGPUDevice, WebGPUSampler}; + use crate::dom::bindings::cell::DomRefCell; use crate::dom::bindings::codegen::Bindings::GPUSamplerBinding::GPUSamplerMethods; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::DomRoot; use crate::dom::bindings::str::USVString; use crate::dom::globalscope::GlobalScope; -use dom_struct::dom_struct; -use webgpu::{WebGPUDevice, WebGPUSampler}; #[dom_struct] pub struct GPUSampler { |