diff options
Diffstat (limited to 'components/script/dom/webxr/xrray.rs')
-rw-r--r-- | components/script/dom/webxr/xrray.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/webxr/xrray.rs b/components/script/dom/webxr/xrray.rs index 4936edd0acb..548f30ea111 100644 --- a/components/script/dom/webxr/xrray.rs +++ b/components/script/dom/webxr/xrray.rs @@ -21,7 +21,7 @@ use crate::dom::xrrigidtransform::XRRigidTransform; use crate::script_runtime::{CanGc, JSContext}; #[dom_struct] -pub struct XRRay { +pub(crate) struct XRRay { reflector_: Reflector, #[ignore_malloc_size_of = "defined in webxr"] #[no_trace] @@ -48,7 +48,7 @@ impl XRRay { reflect_dom_object_with_proto(Box::new(XRRay::new_inherited(ray)), global, proto, can_gc) } - pub fn ray(&self) -> Ray<ApiSpace> { + pub(crate) fn ray(&self) -> Ray<ApiSpace> { self.ray } } |