mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
Add stub XRRay
This commit is contained in:
parent
7f353033f4
commit
b6a9e41bb8
4 changed files with 52 additions and 0 deletions
|
@ -158,6 +158,7 @@ use webgpu::{
|
|||
};
|
||||
use webrender_api::{DocumentId, ImageKey};
|
||||
use webxr_api::SwapChainId as WebXRSwapChainId;
|
||||
use webxr_api::Ray;
|
||||
|
||||
unsafe_no_jsmanaged_fields!(Tm);
|
||||
|
||||
|
@ -750,6 +751,13 @@ unsafe impl<U> JSTraceable for euclid::Rect<i32, U> {
|
|||
}
|
||||
}
|
||||
|
||||
unsafe impl<Space> JSTraceable for Ray<Space> {
|
||||
#[inline]
|
||||
unsafe fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl JSTraceable for StyleLocked<FontFaceRule> {
|
||||
unsafe fn trace(&self, _trc: *mut JSTracer) {
|
||||
// Do nothing.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue