[][src]Struct openvr_sys::VR_IVRScreenshots_FnTable

#[repr(C)]pub struct VR_IVRScreenshots_FnTable {
    pub RequestScreenshot: Option<unsafe extern "C" fn(pOutScreenshotHandle: *mut ScreenshotHandle_t, type_: EVRScreenshotType, pchPreviewFilename: *mut c_char, pchVRFilename: *mut c_char) -> EVRScreenshotError>,
    pub HookScreenshot: Option<unsafe extern "C" fn(pSupportedTypes: *mut EVRScreenshotType, numTypes: c_int) -> EVRScreenshotError>,
    pub GetScreenshotPropertyType: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, pError: *mut EVRScreenshotError) -> EVRScreenshotType>,
    pub GetScreenshotPropertyFilename: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, filenameType: EVRScreenshotPropertyFilenames, pchFilename: *mut c_char, cchFilename: u32, pError: *mut EVRScreenshotError) -> u32>,
    pub UpdateScreenshotProgress: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, flProgress: f32) -> EVRScreenshotError>,
    pub TakeStereoScreenshot: Option<unsafe extern "C" fn(pOutScreenshotHandle: *mut ScreenshotHandle_t, pchPreviewFilename: *mut c_char, pchVRFilename: *mut c_char) -> EVRScreenshotError>,
    pub SubmitScreenshot: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, type_: EVRScreenshotType, pchSourcePreviewFilename: *mut c_char, pchSourceVRFilename: *mut c_char) -> EVRScreenshotError>,
}

Fields

RequestScreenshot: Option<unsafe extern "C" fn(pOutScreenshotHandle: *mut ScreenshotHandle_t, type_: EVRScreenshotType, pchPreviewFilename: *mut c_char, pchVRFilename: *mut c_char) -> EVRScreenshotError>HookScreenshot: Option<unsafe extern "C" fn(pSupportedTypes: *mut EVRScreenshotType, numTypes: c_int) -> EVRScreenshotError>GetScreenshotPropertyType: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, pError: *mut EVRScreenshotError) -> EVRScreenshotType>GetScreenshotPropertyFilename: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, filenameType: EVRScreenshotPropertyFilenames, pchFilename: *mut c_char, cchFilename: u32, pError: *mut EVRScreenshotError) -> u32>UpdateScreenshotProgress: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, flProgress: f32) -> EVRScreenshotError>TakeStereoScreenshot: Option<unsafe extern "C" fn(pOutScreenshotHandle: *mut ScreenshotHandle_t, pchPreviewFilename: *mut c_char, pchVRFilename: *mut c_char) -> EVRScreenshotError>SubmitScreenshot: Option<unsafe extern "C" fn(screenshotHandle: ScreenshotHandle_t, type_: EVRScreenshotType, pchSourcePreviewFilename: *mut c_char, pchSourceVRFilename: *mut c_char) -> EVRScreenshotError>

Trait Implementations

impl Clone for VR_IVRScreenshots_FnTable[src]

impl Copy for VR_IVRScreenshots_FnTable[src]

impl Debug for VR_IVRScreenshots_FnTable[src]

Auto Trait Implementations

impl RefUnwindSafe for VR_IVRScreenshots_FnTable

impl Send for VR_IVRScreenshots_FnTable

impl Sync for VR_IVRScreenshots_FnTable

impl Unpin for VR_IVRScreenshots_FnTable

impl UnwindSafe for VR_IVRScreenshots_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.