aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/fakexrinputcontroller.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/fakexrinputcontroller.rs')
-rw-r--r--components/script/dom/fakexrinputcontroller.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/components/script/dom/fakexrinputcontroller.rs b/components/script/dom/fakexrinputcontroller.rs
index 047729b96f6..bdeaefb450f 100644
--- a/components/script/dom/fakexrinputcontroller.rs
+++ b/components/script/dom/fakexrinputcontroller.rs
@@ -2,6 +2,12 @@
* 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 ipc_channel::ipc::IpcSender;
+use webxr_api::{
+ Handedness, InputId, MockDeviceMsg, MockInputMsg, SelectEvent, SelectKind, TargetRayMode,
+};
+
use crate::dom::bindings::codegen::Bindings::FakeXRDeviceBinding::FakeXRRigidTransformInit;
use crate::dom::bindings::codegen::Bindings::FakeXRInputControllerBinding::FakeXRInputControllerMethods;
use crate::dom::bindings::codegen::Bindings::XRInputSourceBinding::{
@@ -13,11 +19,6 @@ use crate::dom::bindings::root::DomRoot;
use crate::dom::bindings::str::DOMString;
use crate::dom::fakexrdevice::get_origin;
use crate::dom::globalscope::GlobalScope;
-use dom_struct::dom_struct;
-use ipc_channel::ipc::IpcSender;
-use webxr_api::{
- Handedness, InputId, MockDeviceMsg, MockInputMsg, SelectEvent, SelectKind, TargetRayMode,
-};
#[dom_struct]
pub struct FakeXRInputController {