/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_webgpu/gpumapmode.rs
19 строк
563 B
Narfinger
script: Move more files to script_webgpu crate (#46657)
20 июл 2026, 15:03
Не верифицирован
20 июл 2026, 15:03
a60e791
Код
Авторство
О чём код?
/* 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/. */ use std::marker::PhantomData; use dom_struct::dom_struct; use malloc_size_of_derive::MallocSizeOf; use script_bindings::DomTypes; use script_bindings::reflector::Reflector; use crate::JSTraceable; #[dom_struct] pub struct GPUMapMode<D: DomTypes> { reflector_: Reflector, #[no_trace = "PhantomData does not exist"] phantom: PhantomData<D>, }