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