pub trait XRFrameMethods {
// Required methods
fn Session(&self) -> Root<Dom<XRSession>>;
fn GetViewerPose(
&self,
referenceSpace: &XRReferenceSpace
) -> Result<Option<Root<Dom<XRViewerPose>>>, Error>;
fn GetPose(
&self,
space: &XRSpace,
relativeTo: &XRSpace
) -> Result<Option<Root<Dom<XRPose>>>, Error>;
fn GetJointPose(
&self,
space: &XRJointSpace,
relativeTo: &XRSpace
) -> Result<Option<Root<Dom<XRJointPose>>>, Error>;
fn GetHitTestResults(
&self,
hitTestSource: &XRHitTestSource
) -> Vec<Root<Dom<XRHitTestResult>>>;
}