pub trait GamepadPoseMethods<D: DomTypes> {
// Required methods
fn HasOrientation(&self) -> bool;
fn HasPosition(&self) -> bool;
fn GetPosition(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
fn GetLinearVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
fn GetLinearAcceleration(
&self,
) -> Option<RootedTraceableBox<HeapFloat32Array>>;
fn GetOrientation(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
fn GetAngularVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>;
fn GetAngularAcceleration(
&self,
) -> Option<RootedTraceableBox<HeapFloat32Array>>;
}Required Methods§
fn HasOrientation(&self) -> bool
fn HasPosition(&self) -> bool
fn GetPosition(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
fn GetLinearVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
fn GetLinearAcceleration(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
fn GetOrientation(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
fn GetAngularVelocity(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
fn GetAngularAcceleration(&self) -> Option<RootedTraceableBox<HeapFloat32Array>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".