#[repr(C)]pub struct ovrDetectResult {
pub _align: [u64; 0],
pub IsOculusServiceRunning: ovrBool,
pub IsOculusHMDConnected: ovrBool,
pub _pad0: [u8; 6],
}Expand description
Return values for ovr_Detect.
see ovr_Detect
Fields§
§_align: [u64; 0]§IsOculusServiceRunning: ovrBoolIs ovrFalse when the Oculus Service is not running.
This means that the Oculus Service is either uninstalled or stopped.
IsOculusHMDConnected will be ovrFalse in this case.
Is ovrTrue when the Oculus Service is running.
This means that the Oculus Service is installed and running.
IsOculusHMDConnected will reflect the state of the HMD.
IsOculusHMDConnected: ovrBoolIs ovrFalse when an Oculus HMD is not detected.
If the Oculus Service is not running, this will be ovrFalse.
Is ovrTrue when an Oculus HMD is detected.
This implies that the Oculus Service is also installed and running.
_pad0: [u8; 6]\internal struct pad.
Trait Implementations§
Source§impl Clone for ovrDetectResult
impl Clone for ovrDetectResult
Source§fn clone(&self) -> ovrDetectResult
fn clone(&self) -> ovrDetectResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ovrDetectResult
impl Debug for ovrDetectResult
impl Copy for ovrDetectResult
Auto Trait Implementations§
impl Freeze for ovrDetectResult
impl RefUnwindSafe for ovrDetectResult
impl Send for ovrDetectResult
impl Sync for ovrDetectResult
impl Unpin for ovrDetectResult
impl UnwindSafe for ovrDetectResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more