pub(crate) trait XRViewMethods<D>where
    D: DomTypes,{
    // Required methods
    fn Eye(&self) -> XREye;
    fn ProjectionMatrix(
        &self,
        cx: JSContext,
        _can_gc: CanGc,
    ) -> TypedArray<Float32, *mut JSObject>;
    fn Transform(&self) -> Root<Dom<<D as DomTypes>::XRRigidTransform>>;
    fn GetRecommendedViewportScale(&self) -> Option<Finite<f64>>;
    fn RequestViewportScale(&self, scale: Option<Finite<f64>>);
    fn IsFirstPersonObserver(&self) -> bool;
}