aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gamepadpose.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/gamepadpose.rs')
-rw-r--r--components/script/dom/gamepadpose.rs12
1 files changed, 7 insertions, 5 deletions
diff --git a/components/script/dom/gamepadpose.rs b/components/script/dom/gamepadpose.rs
index 10d770ea68a..073a326dc0a 100644
--- a/components/script/dom/gamepadpose.rs
+++ b/components/script/dom/gamepadpose.rs
@@ -2,16 +2,18 @@
* 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::ptr;
+use std::ptr::NonNull;
+
+use dom_struct::dom_struct;
+use js::jsapi::{Heap, JSObject};
+use js::typedarray::{CreateWith, Float32Array};
+
use crate::dom::bindings::codegen::Bindings::GamepadPoseBinding::GamepadPoseMethods;
use crate::dom::bindings::reflector::{reflect_dom_object, Reflector};
use crate::dom::bindings::root::DomRoot;
use crate::dom::globalscope::GlobalScope;
use crate::script_runtime::JSContext;
-use dom_struct::dom_struct;
-use js::jsapi::{Heap, JSObject};
-use js::typedarray::{CreateWith, Float32Array};
-use std::ptr;
-use std::ptr::NonNull;
#[dom_struct]
pub struct GamepadPose {