pub trait XRRenderStateMethods<D>where
    D: DomTypes,{
    // Required methods
    fn DepthNear(&self) -> Finite<f64>;
    fn DepthFar(&self) -> Finite<f64>;
    fn GetInlineVerticalFieldOfView(&self) -> Option<Finite<f64>>;
    fn GetBaseLayer(&self) -> Option<Root<Dom<<D as DomTypes>::XRWebGLLayer>>>;
    fn Layers(
        &self,
        cx: JSContext,
        _can_gc: CanGc,
        retval: MutableHandle<'_, Value>,
    );
}