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>>;
}

Required Methods§

source

fn IsSessionSupported(&self, mode: XRSessionMode, _can_gc: CanGc) -> Rc<Promise>

source

fn RequestSession( &self, mode: XRSessionMode, parameters: RootedTraceableBox<XRSessionInit>, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<Promise>

source

fn Test(&self) -> Root<Dom<XRTest>>

Implementors§