Trait GamepadPoseMethods
Source pub(crate) trait GamepadPoseMethods<D>{
// Required methods
fn HasOrientation(&self) -> bool;
fn HasPosition(&self) -> bool;
fn GetPosition(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
fn GetLinearVelocity(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
fn GetLinearAcceleration(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
fn GetOrientation(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
fn GetAngularVelocity(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
fn GetAngularAcceleration(
&self,
cx: JSContext,
) -> Option<RootedTraceableBox<TypedArray<Float32, Box<Heap<*mut JSObject>>>>>;
}