Enum openvr_sys2::vr::EVROverlayError
source · #[repr(u32)]pub enum EVROverlayError {
Show 25 variants
VROverlayError_None,
VROverlayError_UnknownOverlay,
VROverlayError_InvalidHandle,
VROverlayError_PermissionDenied,
VROverlayError_OverlayLimitExceeded,
VROverlayError_WrongVisibilityType,
VROverlayError_KeyTooLong,
VROverlayError_NameTooLong,
VROverlayError_KeyInUse,
VROverlayError_WrongTransformType,
VROverlayError_InvalidTrackedDevice,
VROverlayError_InvalidParameter,
VROverlayError_ThumbnailCantBeDestroyed,
VROverlayError_ArrayTooSmall,
VROverlayError_RequestFailed,
VROverlayError_InvalidTexture,
VROverlayError_UnableToLoadFile,
VROverlayError_KeyboardAlreadyInUse,
VROverlayError_NoNeighbor,
VROverlayError_TooManyMaskPrimitives,
VROverlayError_BadMaskPrimitive,
VROverlayError_TextureAlreadyLocked,
VROverlayError_TextureLockCapacityReached,
VROverlayError_TextureNotLocked,
VROverlayError_TimedOut,
}Expand description
Errors that can occur around VR overlays
Variants§
VROverlayError_None
VROverlayError_UnknownOverlay
VROverlayError_InvalidHandle
VROverlayError_PermissionDenied
VROverlayError_OverlayLimitExceeded
VROverlayError_WrongVisibilityType
VROverlayError_KeyTooLong
VROverlayError_NameTooLong
VROverlayError_KeyInUse
VROverlayError_WrongTransformType
VROverlayError_InvalidTrackedDevice
VROverlayError_InvalidParameter
VROverlayError_ThumbnailCantBeDestroyed
VROverlayError_ArrayTooSmall
VROverlayError_RequestFailed
VROverlayError_InvalidTexture
VROverlayError_UnableToLoadFile
VROverlayError_KeyboardAlreadyInUse
VROverlayError_NoNeighbor
VROverlayError_TooManyMaskPrimitives
VROverlayError_BadMaskPrimitive
VROverlayError_TextureAlreadyLocked
VROverlayError_TextureLockCapacityReached
VROverlayError_TextureNotLocked
VROverlayError_TimedOut
Implementations§
source§impl EVROverlayError
impl EVROverlayError
pub fn into_result(self) -> Result<(), Self>
Trait Implementations§
source§impl Clone for EVROverlayError
impl Clone for EVROverlayError
source§fn clone(&self) -> EVROverlayError
fn clone(&self) -> EVROverlayError
Returns a copy 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 EVROverlayError
impl Debug for EVROverlayError
source§impl Display for EVROverlayError
impl Display for EVROverlayError
source§impl Error for EVROverlayError
impl Error for EVROverlayError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl ExternType for EVROverlayError
impl ExternType for EVROverlayError
source§impl Hash for EVROverlayError
impl Hash for EVROverlayError
source§impl PartialEq<EVROverlayError> for EVROverlayError
impl PartialEq<EVROverlayError> for EVROverlayError
source§fn eq(&self, other: &EVROverlayError) -> bool
fn eq(&self, other: &EVROverlayError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for EVROverlayError
impl StructuralEq for EVROverlayError
impl StructuralPartialEq for EVROverlayError
impl UniquePtrTarget for EVROverlayError
impl VectorElement for EVROverlayError
impl WeakPtrTarget for EVROverlayError
Auto Trait Implementations§
impl RefUnwindSafe for EVROverlayError
impl Send for EVROverlayError
impl Sync for EVROverlayError
impl Unpin for EVROverlayError
impl UnwindSafe for EVROverlayError
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.