Safe rust API that provides a way to interact with Virtual Reality headsets
and integration with vendor specific SDKs like OpenVR and Oculus. The API is inspired on the
easy to use WebVR API but adapted to Rust design patterns
/// Each VR service may have some code which needs to run on the main thread,
/// for example window creation on MacOS is only supported on the main thread.
/// Implementations of this trait will usually be neither `Sync` nor `Send`.
pubtraitVRMainThreadHeartbeat{/// Run the heartbeat on the main thread.
fnheartbeat(&mutself);/// Is the heartbeat expecting to be called every frame?
fnheart_racing(&self)->bool;}