[][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 Copy for VR_IVRScreenshots_FnTable[src]

impl Clone for VR_IVRScreenshots_FnTable[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for VR_IVRScreenshots_FnTable[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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