Trait script::dom::bindings::codegen::Bindings::XRSystemBinding::XRSystem_Binding::XRSystemMethods
source · pub trait XRSystemMethods {
// Required methods
fn IsSessionSupported(
&self,
mode: XRSessionMode,
_can_gc: CanGc,
) -> Rc<Promise>;
fn RequestSession(
&self,
mode: XRSessionMode,
parameters: RootedTraceableBox<XRSessionInit>,
_comp: InRealm<'_>,
_can_gc: CanGc,
) -> Rc<Promise>;
fn Test(&self) -> Root<Dom<XRTest>>;
}