GamepadPoseMethods

Trait GamepadPoseMethods 

Source
pub(crate) trait GamepadPoseMethods<D>
where D: DomTypes,
{ // 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>>>>>; }

Required Methods§

Implementors§