script/dom/bindings/
import.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
5pub(crate) mod base {
6    pub(crate) use std::ptr;
7
8    #[allow(unused_imports)]
9    pub(crate) use js::context::JSContext;
10    #[allow(unused_imports)]
11    pub(crate) use js::realm::CurrentRealm;
12    pub(crate) use js::rust::{HandleObject, MutableHandleObject};
13
14    pub(crate) use crate::script_runtime::{CanGc, JSContext as SafeJSContext};
15}
16
17pub(crate) mod module {
18    pub(crate) use script_bindings::codegen::PrototypeList;
19    pub(crate) use script_bindings::conversions::IDLInterface;
20    pub(crate) use script_bindings::utils::DOMClass;
21
22    pub(crate) use super::base::*;
23    pub(crate) use crate::dom::bindings::iterable::IterableIterator;
24    pub(crate) use crate::dom::bindings::reflector::{
25        DomObjectIteratorWrap, DomObjectWrap, Reflector,
26    };
27    pub(crate) use crate::dom::bindings::root::{Dom, Root};
28    pub(crate) use crate::dom::bindings::weakref::WeakReferenceable;
29}