[][src]Struct openvr_sys::VR_IVRSpatialAnchors_FnTable

#[repr(C)]pub struct VR_IVRSpatialAnchors_FnTable {
    pub CreateSpatialAnchorFromDescriptor: Option<unsafe extern "C" fn(pchDescriptor: *mut c_char, pHandleOut: *mut SpatialAnchorHandle_t) -> EVRSpatialAnchorError>,
    pub CreateSpatialAnchorFromPose: Option<unsafe extern "C" fn(unDeviceIndex: TrackedDeviceIndex_t, eOrigin: ETrackingUniverseOrigin, pPose: *mut SpatialAnchorPose_t, pHandleOut: *mut SpatialAnchorHandle_t) -> EVRSpatialAnchorError>,
    pub GetSpatialAnchorPose: Option<unsafe extern "C" fn(unHandle: SpatialAnchorHandle_t, eOrigin: ETrackingUniverseOrigin, pPoseOut: *mut SpatialAnchorPose_t) -> EVRSpatialAnchorError>,
    pub GetSpatialAnchorDescriptor: Option<unsafe extern "C" fn(unHandle: SpatialAnchorHandle_t, pchDescriptorOut: *mut c_char, punDescriptorBufferLenInOut: *mut u32) -> EVRSpatialAnchorError>,
}

Fields

CreateSpatialAnchorFromDescriptor: Option<unsafe extern "C" fn(pchDescriptor: *mut c_char, pHandleOut: *mut SpatialAnchorHandle_t) -> EVRSpatialAnchorError>CreateSpatialAnchorFromPose: Option<unsafe extern "C" fn(unDeviceIndex: TrackedDeviceIndex_t, eOrigin: ETrackingUniverseOrigin, pPose: *mut SpatialAnchorPose_t, pHandleOut: *mut SpatialAnchorHandle_t) -> EVRSpatialAnchorError>GetSpatialAnchorPose: Option<unsafe extern "C" fn(unHandle: SpatialAnchorHandle_t, eOrigin: ETrackingUniverseOrigin, pPoseOut: *mut SpatialAnchorPose_t) -> EVRSpatialAnchorError>GetSpatialAnchorDescriptor: Option<unsafe extern "C" fn(unHandle: SpatialAnchorHandle_t, pchDescriptorOut: *mut c_char, punDescriptorBufferLenInOut: *mut u32) -> EVRSpatialAnchorError>

Trait Implementations

impl Clone for VR_IVRSpatialAnchors_FnTable[src]

impl Copy for VR_IVRSpatialAnchors_FnTable[src]

impl Debug for VR_IVRSpatialAnchors_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRSpatialAnchors_FnTable

impl Send for VR_IVRSpatialAnchors_FnTable

impl Sync for VR_IVRSpatialAnchors_FnTable

impl Unpin for VR_IVRSpatialAnchors_FnTable

impl UnwindSafe for VR_IVRSpatialAnchors_FnTable

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.