/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/script_webgpu/gpubufferusage.rs
19 строк
567 B
Narfinger
script: Move more into script_webgpu crate (#46534)
17 июл 2026, 12:20
Не верифицирован
17 июл 2026, 12:20
1d37477
Код
Авторство
О чём код?
/* 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 GPUBufferUsage<D: DomTypes> { reflector_: Reflector, #[no_trace = "PhantomData does not exist"] phantom: PhantomData<D>, }