Trait script::dom::bindings::codegen::Bindings::XRInputSourceBinding::XRInputSource_Binding::XRInputSourceMethods
source · pub trait XRInputSourceMethods<D: DomTypes> {
// Required methods
fn Handedness(&self) -> XRHandedness;
fn TargetRayMode(&self) -> XRTargetRayMode;
fn TargetRaySpace(&self) -> Root<Dom<XRSpace>>;
fn GetGripSpace(&self) -> Option<Root<Dom<XRSpace>>>;
fn Profiles(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
fn SkipRendering(&self) -> bool;
fn GetGamepad(&self) -> Option<Root<Dom<Gamepad>>>;
fn GetHand(&self) -> Option<Root<Dom<XRHand>>>;
}