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

Required Methods§

Implementors§