/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script/dom/bindings/import.rs
27 строк
1 KB
Sam
script: WeakReferenceable as Rc-ed dom_struct (#42311)
15 июл 2026, 07:05
Не верифицирован
15 июл 2026, 07:05
a3f2444
Код
Авторство
О чём код?
/* This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ pub(crate) mod base { pub(crate) use std::ptr; pub(crate) use std::rc::Rc; pub(crate) use js::context::JSContext; #[expect(unused_imports)] pub(crate) use js::realm::CurrentRealm; pub(crate) use js::rust::{HandleObject, MutableHandleObject}; } pub(crate) mod module { pub(crate) use script_bindings::codegen::PrototypeList; pub(crate) use script_bindings::conversions::IDLInterface; pub(crate) use script_bindings::reflector::{ DomObjectIteratorWrap, DomObjectWrap, Reflector, WeakReferenceableDomObjectWrap, }; pub(crate) use script_bindings::utils::DOMClass; pub(crate) use super::base::*; pub(crate) use crate::dom::bindings::iterable::IterableIterator; pub(crate) use crate::dom::bindings::root::{Dom, Root}; pub(crate) use crate::dom::bindings::weakref::WeakReferenceable; }