pub trait XRSystemMethods<D>where
D: DomTypes,{
// Required methods
fn IsSessionSupported(
&self,
realm: &mut CurrentRealm<'_>,
mode: XRSessionMode,
) -> Rc<<D as DomTypes>::Promise>;
fn RequestSession(
&self,
realm: &mut CurrentRealm<'_>,
mode: XRSessionMode,
parameters: RootedTraceableBox<XRSessionInit>,
) -> Rc<<D as DomTypes>::Promise>;
fn Test(&self, cx: &mut JSContext) -> Root<Dom<<D as DomTypes>::XRTest>>;
}